Quellcode durchsuchen

Обновить 'README.MD'

nmuhlygin vor 1 Tag
Ursprung
Commit
9b86aee768
1 geänderte Dateien mit 80 neuen und 0 gelöschten Zeilen
  1. 80 0
      README.MD

+ 80 - 0
README.MD

@@ -0,0 +1,80 @@
+1)Инициализируем репозиторий командой git init
+```
+C:\Users\Admin\skv_lab>git init
+Initialized empty Git repository in C:/Users/Admin/skv_lab/.git/
+```
+2)Создаем .gitignore
+
+3)Создаем README.MD
+
+4)Выполняем команду git status
+```
+C:\Users\User\skv_lab>git status
+On branch master
+
+No commits yet
+
+Untracked files:
+  (use "git add <file>..." to include in what will be committed)
+        .gitignore
+        README.MD
+
+nothing added to commit but untracked files present (use "git add" to track)
+```
+5)Выполняем команду git add
+```
+C:\Users\Admin\skv2_lab>git add .
+```
+6)Выполняем команду git status
+```
+C:\Users\User\skv_lab>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
+
+7)Выполняем команду git config
+```
+C:\Users\User\skv_lab>git config user.name nmuhlygin
+
+C:\Users\User\skv_lab>git config user.email mulyginnikita156@gmail.com
+```
+7)Выполняем команду git commit
+```
+C:\Users\User\skv_lab>git commit -m "йоу"
+[master (root-commit) a23d53c] йоу
+ 2 files changed, 9 insertions(+)
+ create mode 100644 .gitignore
+ create mode 100644 README.MD
+ ```
+8)Выполняем команду git log
+```
+C:\Users\User\skv_lab>git log
+commit a23d53c86c1940354e32f394f6c28c8730883ffa (HEAD -> master)
+Author: nmuhlygin <mulyginnikita156@gmail.com>
+Date:   Fri Jan 17 08:48:53 2025 +0300
+
+    йоу
+```
+9)Выполняем команду git remote
+```
+C:\Users\User\skv_lab>git remote add origin https://kolei.ru/nmuhlygin/skv_lab.git
+```
+10)Выполняем команду git push
+```
+C:\Users\User\skv_lab>git push origin master
+Username for 'https://kolei.ru': nmuhlygin
+Password for 'https://nmuhlygin@kolei.ru':
+Enumerating objects: 4, done.
+Counting objects: 100% (4/4), done.
+Delta compression using up to 6 threads
+Compressing objects: 100% (3/3), done.
+Writing objects: 100% (4/4), 457 bytes | 457.00 KiB/s, done.
+Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
+To https://kolei.ru/nmuhlygin/skv_lab.git
+ * [new branch]      master -> master
+```