docs: require closes/fixes in commit messages

This commit is contained in:
Mario Zechner 2026-02-03 01:36:35 +01:00
parent 20d704fee1
commit 2b197c7fb1

View file

@ -178,6 +178,7 @@ Multiple agents may work on different files in the same worktree simultaneously.
### Committing
- **ONLY commit files YOU changed in THIS session**
- ALWAYS include `fixes #<number>` or `closes #<number>` in the commit message when there is a related issue or PR
- NEVER use `git add -A` or `git add .` - these sweep up changes from other agents
- ALWAYS use `git add <specific-file-paths>` listing only files you modified
- Before committing, run `git status` and verify you are only staging YOUR files