docs: require deleting merged feature branches
This commit is contained in:
@@ -28,6 +28,7 @@ If code and docs diverge, update docs first or together with code.
|
||||
- Commits must be atomic.
|
||||
- Push periodically after one or more logically complete `RGR + commit` cycles.
|
||||
- Do not wait for the whole feature to be finished before pushing.
|
||||
- Delete merged feature branches both locally and in `origin`.
|
||||
|
||||
## Language rules
|
||||
|
||||
|
||||
@@ -180,6 +180,7 @@ git@github.com:bsodfather/rmcp.git
|
||||
|
||||
- `main` - стабильная ветка;
|
||||
- каждая фича делается в отдельной ветке `feat/<feature-name>`.
|
||||
- после merge feature-ветка удаляется и в `origin`, и локально.
|
||||
|
||||
Примеры:
|
||||
|
||||
@@ -214,6 +215,14 @@ git@github.com:bsodfather/rmcp.git
|
||||
- push делается после одного или нескольких логически связанных `RGR + commit`;
|
||||
- push должен оставлять ветку в консистентном состоянии.
|
||||
|
||||
### 8.5. Merge cleanup
|
||||
|
||||
После merge в `main` обязательно:
|
||||
|
||||
- удалить remote branch;
|
||||
- удалить локальную branch;
|
||||
- не оставлять merged feature branches висеть в репозитории.
|
||||
|
||||
## 9. Definition of Done
|
||||
|
||||
Фича считается законченной, если:
|
||||
|
||||
Reference in New Issue
Block a user