Add reminder to always branch from main
Prevents accidentally including commits from other feature branches. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6bb5f323d6
commit
2a6fcd915c
1 changed files with 6 additions and 0 deletions
|
|
@ -40,7 +40,13 @@ Key hosts:
|
|||
|
||||
Use feature branches for all changes. Do not commit directly to main. Commit often while working to preserve progress.
|
||||
|
||||
**IMPORTANT:** Always create feature branches from main to avoid including unrelated commits:
|
||||
|
||||
```bash
|
||||
# Always start from main
|
||||
git checkout main
|
||||
git pull
|
||||
|
||||
# Create a feature branch
|
||||
git checkout -b feature/description-of-change
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue