Sem descrição

dshitkov edcc243558 Обновить 'readme.md' há 1 dia atrás
.gitignore.txt 90424f76c8 initial project version há 1 dia atrás
readme.md edcc243558 Обновить 'readme.md' há 1 dia atrás

readme.md

  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 <file>..." to include in what will be committed)
        .gitignore.txt
        README.MD.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:   README.MD.txt
    
  8. Выполняем команду git commit

    C:\Users\User\skv>git commit -m 'допустим'
    [master (root-commit) 4dcac8f] 'допустим'
    2 files changed, 0 insertions(+), 0 deletions(-)
    create mode 100644 .gitignore.txt
    create mode 100644 README.MD.txt
    
  9. Выполняем команду git log

    C:\Users\User\skv>git log
    commit 4dcac8f790c4533a48e0a67170562302b770b3b0 (HEAD -> master)
    Author: dshitkov <danilshitkov2005@gmail.com>
    Date:   Fri Jan 17 07:50:22 2025 +0300
    
    'допустим'
    
  10. Выполняем команду git remote

    C:\Users\User\skv>git remote add origin https://kolei.ru/dshitkov/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), 250 bytes | 250.00 KiB/s, done.
    Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
    To https://kolei.ru/dshitkov/skv.git
    * [new branch]      master -> master