Žiadny popis

azinnatullin c6250c0791 Обновить 'README.MD' 1 deň pred
.gitignore 9a5315e31f first commit 1 deň pred
README.MD c6250c0791 Обновить 'README.MD' 1 deň pred

README.MD

  1. Инициализируем репозиторий командой git init

    C:\Users\Admin\skv2_lab>git init
    Initialized empty Git repository in C:/Users/Admin/skv2_lab/.git/
    
  2. Выполняем команду git status

    C:\Users\Admin\skv2_lab>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

    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)
    
  6. Выполняем команду git add

    C:\Users\Admin\skv2_lab>git add .
    
  7. Выполняем команду git status

    C:\Users\Admin\skv2_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
    
  8. Выполняем команду git commit

    C:\Users\Admin\skv2_lab>git commit -m "first commit"
    [master (root-commit) d2287b5] first commit
    2 files changed, 0 insertions(+), 0 deletions(-)
    create mode 100644 .gitignore
    create mode 100644 README.MD
    
  9. Выполняем команду git log

    commit 06d297ae33fcc1457f5efce3324f0aca227b2b89 (HEAD -> master, origin/master)
    Author: azinnatullin <famess009@gmail.com>
    Date:   Thu Jan 16 17:18:32 2025 +0300
    
        first commit
    
  10. Выполняем команду git remote

    C:\Users\Admin\skv2_lab>git remote add origin https://kolei.ru/azinnatullin/skv2_lab1.git
    
  11. Выполняем команду git push

    C:\Users\Admin\skv2_lab>git push origin master
    Enumerating objects: 3, done.
    Counting objects: 100% (3/3), done.
    Delta compression using up to 12 threads
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (3/3), 227 bytes | 227.00 KiB/s, done.
    Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
    To https://kolei.ru/azinnatullin/skv2_lab1.git
    * [new branch]      master -> master