# Лабораторная работа СКВ 1. Инициализируем репозиторий командой `git init` ``` hint: 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` ``` Username for 'https://kolei.ru': ivasileva Password for 'https://ivasileva@kolei.ru': remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3 (delta 1), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), 353 bytes | 29.00 KiB/s, done. From https://kolei.ru/ivasileva/SKV db3977d..0b6470c master -> origin/master Updating db3977d..0b6470c Fast-forward readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ```