Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT Project Management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Щербинин Артем Владимирович
IT Project Management
Commits
b5b809ed
Commit
b5b809ed
authored
Dec 09, 2025
by
Щербинин Артем Владимирович
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of
https://git.herzen.spb.ru/200743/git-test
parents
4f9e9902
479c0db4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
README.md
README.md
+54
-0
No files found.
README.md
0 → 100644
View file @
b5b809ed
# Создание нового репозитория
`git init`
# Определение состояния
`git status`
# Подготовка файлов
`git add <имя_файла>`
`git add -A`
(для всех файлов, что находятся в директории)
`git add .`
(для всех файлов)
# Коммит (фиксация изменений)
`git commit`
`git commit -m "Описание коммита"`
# Отправка изменений на сервер
`git push <имя удалённого репозитория> <название_ветки>`
# Запрос изменений с сервера
`git pull <имя удалённого репозитория> <название_ветки>`
# История всех коммитов в обратном хронологическом порядке
`git log`
`git log --summary`
(подробная версия истории)
# Добавление удалённого репозитория (для удобства требуется генерация PAT)
`git remote add origin <адрес_репозитория>`
# Сравнение версий
`git diff HEAD`
`git diff --stage`
# Отмена отправки изменений в stage
`git reset <файлы>`
# Отмена изменений до отправки
`git checkout -- <файлы>`
# Создание ветки
`git branch <название_ветки>`
# Переключение на ветку
`git checkout <название_ветки>`
# Удаление ветки
`git branch -d <название_ветки>`
# Объединение веток (текущей с указанной)
`git merge <название_ветки>`
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment