docs: require deleting merged feature branches

This commit is contained in:
a.tolmachev
2026-03-25 18:19:44 +03:00
parent ccc4adb173
commit 649a2ede0d
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -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
+9
View File
@@ -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
Фича считается законченной, если: