Ei kuvausta

ikostrov f622429451 Обновить 'README.MD' 1 päivä sitten
.gitignore ad76dba93f пятдесятдва 2 päivää sitten
README.MD f622429451 Обновить 'README.MD' 1 päivä sitten

README.MD

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

C:\Users\User\skv>git init
Reinitialized existing Git repository in C:/Users/User/skv/.git/

2) Выполняем команду git status

C:\Users\User\skv>git status
On branch master
nothing to commit, working tree clean

3) Создаем .gitignore 3) Создаем README.MD

4) Выполняем команду git status

C:\Users\User\skv>git status
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    .gitignore

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        README.MD

no changes added to commit (use "git add" and/or "git commit -a")

5) Выполняем команду git add

C:\Users\User\skv>git add README.MD

6) Выполняем команду git status

C:\Users\User\skv>git status
On branch master
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   README.MD
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    .gitignore

7) Выполняем команду git commit

C:\Users\User\skv>git commit -m 52
[master 07ba612] 52
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 README.MD
C:\Users\User\skv>git commit -m ww
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   .gitignore

8) Выполняем команду git log

C:\Users\User\skv>git log
commit 07ba6120f427beeeb5a161db77c7a1fb0defa54e (HEAD -> master)
Author: ikostrov <siegell22222@gmail.com>
Date:   Thu Jan 16 14:21:28 2025 +0300

    52

commit ad76dba93f534a71efae4fca9b3b0b63588ab9f6
Author: ikostrov <siegell22222@gmail.com>
Date:   Thu Jan 16 13:02:14 2025 +0300

    пятдесятдва

9) Выполняем команду git remote C:\Users\User\skv>git remote add pb https://kolei.ru/ikostrov/skv.git

10) Выполняем команду git fetch '''

C:\Users\User\skv3_lab>git fetch origin
Username for 'https://kolei.ru': ikostrov
Password for 'https://ikostrov@kolei.ru':
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 24 (delta 7), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (24/24), 3.30 KiB | 35.00 KiB/s, done.
From https://kolei.ru/ikostrov/skv.git
33e8986..827845c  master     -> origin/master 

'''

11) Выполняем команду 'git push'

C:\Users\User\skv>git push origin master
Username for 'https://kolei.ru': ikostrov
Password for 'https://ikostrov@kolei.ru':
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 6 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), 650 bytes | 650.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
To https://kolei.ru/ikostrov/skv.git
 * [new branch]      master -> master