|
@@ -15,50 +15,59 @@ Reinitialized existing Git repository in C:/Users/User/skv/.git/
|
|
|
|
|
|
##### _6.Идентифицируемся_
|
|
|
```
|
|
|
-hint:git config user.name ssabalina
|
|
|
-hint:git config user.email svetashabalina2007@gmail.com
|
|
|
+hint:git config user.name dkoryakova
|
|
|
+hint:git config user.email korakovadasha3@gmail.com
|
|
|
```
|
|
|
+##### _8.Создаем_ `README.MD`
|
|
|
+
|
|
|
+##### _9.Выполняем команду_ `git add .`
|
|
|
|
|
|
##### _7.Выполняем команду_ `git status`
|
|
|
```
|
|
|
-hint: git status
|
|
|
-it status
|
|
|
On branch master
|
|
|
|
|
|
No commits yet
|
|
|
|
|
|
-Untracked files:
|
|
|
- (use "git add <file>..." to include in what will be committed)
|
|
|
- .gitignore/
|
|
|
-
|
|
|
-nothing added to commit but untracked files present (use "git add" to track)
|
|
|
+Changes to be committed:
|
|
|
+ (use "git rm --cached <file>..." to unstage)
|
|
|
+ new file: .gitignore.txt
|
|
|
+ new file: readme.txt
|
|
|
```
|
|
|
|
|
|
|
|
|
-##### _8.Создаем_ `README.MD`
|
|
|
-
|
|
|
-##### _9.Выполняем команду_ `git add .`
|
|
|
|
|
|
##### _10.Потом выполняем команду_ `git commit`
|
|
|
```
|
|
|
-git commit -m "new"
|
|
|
-[master (root-commit) 8db214e] new
|
|
|
- 1 file changed, 1 insertion(+)
|
|
|
- create mode 160000 README.MD
|
|
|
+git commit -m "new commit"
|
|
|
+[master (root-commit) c48c541] new commit
|
|
|
+ 2 files changed, 4 insertions(+)
|
|
|
+ create mode 100644 .gitignore.txt
|
|
|
+ create mode 100644 readme.txt
|
|
|
```
|
|
|
##### _11.Далее выполняем команду_ `git log`
|
|
|
```
|
|
|
-hint: git log
|
|
|
-commit 4d135642649e1606c232c1fcc7a7e61cd390d050 (HEAD -> master, origin/master)
|
|
|
+it log
|
|
|
+commit c48c5418c1541771ffb62c94e06ef94cabf547af (HEAD -> master, origin/master)
|
|
|
+Author: dprrrr <dprrrr1987@mail.ru>
|
|
|
+Date: Fri Jan 17 14:54:16 2025 +0300
|
|
|
+
|
|
|
+ new commit
|
|
|
```
|
|
|
##### _12.Потом выолняем команду_ `git remote`
|
|
|
```
|
|
|
-hint: git remote add origin https://kolei.ru/sshabalina/SKV.git
|
|
|
+hint: git remote add origin https://kolei.ru/dkoryakova/SKV.git
|
|
|
```
|
|
|
##### _13.И отправляем содержимое локального репозитория в внешний репозитории с помощью команды_ `git push`
|
|
|
```
|
|
|
-hint: git push origin master
|
|
|
git push origin master
|
|
|
-Username for 'https://kolei.ru':
|
|
|
-Password for 'https://sshabalina@kolei.ru':
|
|
|
+Username for 'https://kolei.ru': dkoryakova
|
|
|
+Password for 'https://dkoryakova@kolei.ru':
|
|
|
+Enumerating objects: 4, done.
|
|
|
+Counting objects: 100% (4/4), done.
|
|
|
+Delta compression using up to 6 threads
|
|
|
+Compressing objects: 100% (2/2), done.
|
|
|
+Writing objects: 100% (4/4), 279 bytes | 279.00 KiB/s, done.
|
|
|
+Total 4 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
|
|
|
+To https://kolei.ru/dkoryakova/SKV.git
|
|
|
+ * [new branch] master -> master
|
|
|
```
|