Branch Naming Conventions
When starting work, create a branch from main using the appropriate prefix:
- •
feat/<short-name>- For new features (e.g.,feat/blob-replication) - •
bug/<description>- For bug fixes (e.g.,bug/redis-connection-timeout) - •
doc/<description>- For documentation changes (e.g.,doc/api-examples)
Development Workflow
- •Create branch from
mainwith the appropriate prefix - •Do the work - implement the feature, fix, or documentation
- •Commit and push - commit changes with descriptive messages, push to remote
- •Create PR - open a pull request targeting
main - •Wait for CI - ensure all pipelines pass
- •Get review - wait for code review approval
- •Squash merge - merge to
mainusing squash merge
Git Commands Reference
bash
# Start a new feature git checkout main git pull origin main git checkout -b feat/<short-name> # After work is complete git add <files> git commit -m "feat: description of changes" git push -u origin feat/<short-name> # Create PR via GitHub CLI gh pr create --base main --title "feat: description" --body "..."
Commit Message Style
Follow conventional commits where appropriate:
- •
feat:- New feature - •
fix:- Bug fix - •
doc:ordocs:- Documentation - •
refactor:- Code refactoring - •
test:- Adding or updating tests - •
chore:- Maintenance tasks