|
@@ -0,0 +1,50 @@
|
|
|
+Создал пустой репозиторий
|
|
|
+```
|
|
|
+git init
|
|
|
+```
|
|
|
+```
|
|
|
+Initialized empty Git repository in C:/Users/1/Desktop/git/.git/
|
|
|
+```
|
|
|
+Идентифицирую себя
|
|
|
+```
|
|
|
+git config user.name "dalaev"
|
|
|
+```
|
|
|
+```
|
|
|
+git config user.email "alaevdmitriy1@gmail.com"
|
|
|
+```
|
|
|
+Добавляю все файлы с папки в репозиторий
|
|
|
+```
|
|
|
+git add .
|
|
|
+```
|
|
|
+Сохраняю файлы
|
|
|
+```
|
|
|
+git commit -m "first commit"
|
|
|
+```
|
|
|
+```
|
|
|
+[master (root-commit) 5f8b866] first commit
|
|
|
+ 1 file changed, 7 insertions(+)
|
|
|
+ create mode 100644 .gitignore.txt
|
|
|
+```
|
|
|
+Кидаю ссылку на внешний репозиторий
|
|
|
+```
|
|
|
+git remote add origin https://kolei.ru/dalaev/rep.git
|
|
|
+```
|
|
|
+Перекидываю все файлы с локального на внешний репозиторий
|
|
|
+```
|
|
|
+git push -u origin master
|
|
|
+```
|
|
|
+```
|
|
|
+Enumerating objects: 3, done.
|
|
|
+Counting objects: 100% (3/3), done.
|
|
|
+Delta compression using up to 12 threads
|
|
|
+Compressing objects: 100% (2/2), done.
|
|
|
+Writing objects: 100% (3/3), 399 bytes | 399.00 KiB/s, done.
|
|
|
+Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
|
|
|
+To https://kolei.ru/dalaev/rep.git
|
|
|
+ * [new branch] master -> master
|
|
|
+branch 'master' set up to track 'origin/master'.
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|