diff --git a/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%BE%D1%81-%D1%80%D0%B5%D0%BF%D0%BE%D0%B7%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D1%8F.md b/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%BE%D1%81-%D1%80%D0%B5%D0%BF%D0%BE%D0%B7%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D1%8F.md index 95361ad..ec3e775 100644 --- a/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%BE%D1%81-%D1%80%D0%B5%D0%BF%D0%BE%D0%B7%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D1%8F.md +++ b/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%BE%D1%81-%D1%80%D0%B5%D0%BF%D0%BE%D0%B7%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D1%8F.md @@ -1,7 +1,26 @@ +### Перенос репозитория ``` git clone --bare https://hostname/exampleuser/old-repository.git cd old-repository.git git lfs fetch --all git push --mirror https://hostname/exampleuser/new-repository.git git lfs push --all https://github.com/exampleuser/new-repository.git +``` + +### Создать новый репозиторий из командной строки +``` +touch README.md +git init +git checkout -b main +git add README.md +git commit -m "first commit" +git remote add origin https://gitbit.ru/(user|company)/repository.git +git push -u origin main +``` + + +### Push существующего репозитория из командной строки +``` +git remote add origin https://gitbit.ru/(user|company)/repository.git +git push -u origin main ``` \ No newline at end of file