|
@@ -0,0 +1,60 @@
|
|
|
|
+1. Инициализируем репозиторий командой `git init`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git init
|
|
|
|
+ Initialized empty Git repository in C:/Users/User/skv/.git/
|
|
|
|
+ ```
|
|
|
|
+1. Выполняем команду `git status`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git status
|
|
|
|
+ On branch master
|
|
|
|
+
|
|
|
|
+ No commits yet
|
|
|
|
+
|
|
|
|
+ nothing to commit (create/copy files and use "git add" to track)
|
|
|
|
+ ```
|
|
|
|
+1. Создаем `README.MD`
|
|
|
|
+
|
|
|
|
+1. Выполняем команду `git status`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git status
|
|
|
|
+On branch master
|
|
|
|
+
|
|
|
|
+No commits yet
|
|
|
|
+
|
|
|
|
+Untracked files:
|
|
|
|
+ (use "git add <file>..." to include in what will be committed)
|
|
|
|
+ .gitignore
|
|
|
|
+ README.MD
|
|
|
|
+ ```
|
|
|
|
+1. Выполняем команду `git add`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git add README.MD
|
|
|
|
+ ```
|
|
|
|
+1. Выполняем команду `git status`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git status
|
|
|
|
+ On branch master
|
|
|
|
+
|
|
|
|
+ No commits yet
|
|
|
|
+
|
|
|
|
+ Changes to be committed:
|
|
|
|
+ (use "git rm --cached <file>..." to unstage)
|
|
|
|
+ new file: .gitignore
|
|
|
|
+ new file: README.MD
|
|
|
|
+ ```
|
|
|
|
+1. Выполняем команду `git commit`
|
|
|
|
+
|
|
|
|
+ ```
|
|
|
|
+ C:\Users\User\skv>git commit -m "Мой первый коммит"
|
|
|
|
+ [master (root-commit) 2386a32] Мой первый коммит
|
|
|
|
+ 2 files changed, 0 insertions(+), 0 deletions(-)
|
|
|
|
+ create mode 100644 .gitignore
|
|
|
|
+ create mode 100644 README.MD
|
|
|
|
+ ```
|
|
|
|
+1. Выполняем команду `git log`
|
|
|
|
+
|