Skip to content

Commit 0bb62d6

Browse files
committed
docs: add new-branch-from-main rule to git guidelines
1 parent ef66139 commit 0bb62d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.claude/rules/git.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Git Commits & Pull Requests
22

3+
- **Always create a new branch from `main` before starting any new work** — never commit directly to `main` or reuse an existing feature branch for unrelated changes
34
- Use conventional commit format: `fix:`, `feat:`, `refactor:`, `docs:`, `test:`, `chore:`
45
- Keep commits atomic - one logical change per commit
56
- Commit message body should be concise (1-2 sentences max)

0 commit comments

Comments
 (0)