|
@@ -1,23 +1,24 @@
|
|
|
|
|
|
1) Инициализируем репозиторий командой 'git init'
|
|
|
|
|
|
-'''
|
|
|
+```
|
|
|
C:\Users\User\skv>git init
|
|
|
Reinitialized existing Git repository in C:/Users/User/skv/.git/
|
|
|
- '''
|
|
|
+```
|
|
|
|
|
|
2) Выполняем команду `git status`
|
|
|
|
|
|
-'''
|
|
|
+```
|
|
|
C:\Users\User\skv>git status
|
|
|
On branch master
|
|
|
nothing to commit, working tree clean
|
|
|
- '''
|
|
|
+```
|
|
|
+
|
|
|
|
|
|
3) Создаем `README.MD`
|
|
|
|
|
|
4) Выполняем команду `git status`
|
|
|
-'''
|
|
|
+```
|
|
|
C:\Users\User\skv>git status
|
|
|
On branch master
|
|
|
Changes not staged for commit:
|
|
@@ -30,13 +31,13 @@ Untracked files:
|
|
|
README.MD
|
|
|
|
|
|
no changes added to commit (use "git add" and/or "git commit -a")
|
|
|
-'''
|
|
|
+```
|
|
|
5) Выполняем команду `git add`
|
|
|
-'''
|
|
|
-C:\Users\User\skv>git add README.MD
|
|
|
-'''
|
|
|
+
|
|
|
+`C:\Users\User\skv>git add README.MD`
|
|
|
+
|
|
|
6) Выполняем команду `git status`
|
|
|
-'''
|
|
|
+```
|
|
|
C:\Users\User\skv>git status
|
|
|
On branch master
|
|
|
Changes to be committed:
|
|
@@ -46,7 +47,7 @@ Changes not staged for commit:
|
|
|
(use "git add/rm <file>..." to update what will be committed)
|
|
|
(use "git restore <file>..." to discard changes in working directory)
|
|
|
deleted: .gitignore
|
|
|
-'''
|
|
|
+```
|
|
|
7) Выполняем команду `git commit`
|
|
|
'''
|
|
|
C:\Users\User\skv>git commit -m 52
|