Skip to content

Commit f96ec3c

Browse files
committed
Update copilot-instructions.md
1 parent 50c3383 commit f96ec3c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/copilot-instructions.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,16 @@ PR organization:
578578
- Make code changes directly without documentation overhead
579579
- Only create documentation when the user specifically asks for it
580580

581+
### Branching Workflow
582+
- **ALWAYS create a new branch from master** for each issue fix
583+
- **Branch naming**: `fix/issue-NUMBER-description` or `fix/CVE-YYYY-NNNNN-description`
584+
- **Workflow**:
585+
1. `git checkout master` - start from master
586+
2. `git checkout -b fix/issue-NUMBER-description` - create feature branch
587+
3. Make changes and stage files
588+
4. Commit with descriptive message referencing the issue
589+
- **One issue per branch** - do not mix fixes for different issues
590+
581591
### Git Commits
582592
- **DO NOT commit** until tests pass (if tests exist for the changes)
583593
- **ALWAYS run tests first** when changes include test files

0 commit comments

Comments
 (0)