# Лабораторная работа СКВ 1. Инициализирую репозиторий командой `git init` ``` C:\Users\User\SKV>git init Initialized empty Git repository in C:/Users/User/SKV/.git/ ``` 2. Выполняю команду `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) ``` 3. Создаю `.gitignore` 4. Создаю `readme.md` 5. Выполняю команду `git status` ``` C:\Users\User\SKV>git status On branch master No commits yet Untracked files: (use "git add ..." to include in what will be committed) .gitignore.txt read.me.txt nothing added to commit but untracked files present (use "git add" to track) ``` 6. Выполняю команду `git add` ``` C:\Users\User\SKV>git add . ``` 7. Выполняю команду `git status` ``` C:\Users\User\SKV>git status On branch master No commits yet Changes to be committed: (use "git rm --cached ..." to unstage) new file: .gitignore.txt new file: read.me.txt ``` 8. Выполняю команду `git commit` ``` C:\Users\User\SKV>commit -m "chv2" [master (root-commit) 2a704ee] chv2 2 file changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitignore.txt create mode 100644 readme.md.txt ``` 9. Выполняю команду `git log` ``` C:\Users\User\SKV>git log commit 2a704eeb98e9548d8e1a9816c94207c152ebdc15 (HEAD -> master, origin/master) Author: Ирина Васильева Date: Thu Jan 16 14:27:31 2025 +0300 chv2 ``` 10. Выполняю команду `git remote` ``` C:\Users\User\SKV>git remote add origin https://kolei.ru/ivasileva/SKV.git ``` 11. Выполняю команду `git push` ``` C:\Users\User\skv>git push origin master Enumerating objects: 3, done. Counting objects: 100% (3/3), done. Delta compression using up to 6 threads Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 222 bytes | 111.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) Username for 'https://kolei.ru': ivasileva Password for 'https://ivasileva@kolei.ru': To https://kolei.ru/ivasileva/SKV.git * [new branch] master -> master ```