No Description

ivasileva 2c07dc9484 Обновить 'readme.md' 1 day ago
.gitignore a2e26d1a0d Обновить '.gitignore' 1 day ago
readme.md 2c07dc9484 Обновить 'readme.md' 1 day ago

readme.md

Лабораторная работа СКВ

  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 <file>..." 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 <file>..." 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: Ирина Васильева <upuhathe@mail.ru>
    Date:   Thu Jan 16 14:27:31 2025 +0300
    
  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(-)