-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
968030e
commit 54d4416
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,4 +52,5 @@ | |
|
||
## Develop | ||
|
||
* [git](develop/git.md) | ||
* [React](develop/react.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
description: коммиты и соглашения | ||
--- | ||
|
||
# git | ||
|
||
🔑 x.x.x-dev - имя ветки, в которой ведем совместную разработку. С ней работаем через пулл-реквесты.  | ||
|
||
⚾️ feature/N-tack - личная ветка разработчика, заканчивается на ваш github-username. Ее можно и нужно пушить на GitHub, предлагать сделать код-ревью и т.п.  | ||
|
||
⏰ Регулярно в начале дня выполняйте "git fetch" и, затем, "git merge x.x.x-dev" в свою личную ветку. | ||
|
||
 😴 Регулярно в конце дня отправляйте свои изменения на сервер в своей личной ветке  | ||
|
||
🕹 Ветки для экспериментов, которые вы создаете в локальном репозитории, пушить на GitHub не нужно. Можете называть как угодно. Помните правило - ветвитесь часто. Появилась идея - сделайте ответвление от личной ветки "git checkout -b " и туда уже комиттесь. Если вам понравилось - "git checkout feature/experiment" и "git merge ".  | ||
|
||
🚫 Мы НЕ перезаписываем ветки в удаленном репозитории - DON'T "git push --force origin user\_name/feature/auth"  | ||
|
||
🚫 Мы НЕ выполняем git rebase в своих личных ветках после того - как запушили изменения на удаленный репозиторий (см. The Golden Rule of Rebasing) |