Git Workflow Best Practices
Quick reference for common git workflows:
Feature Branch Workflow
- Create feature branch:
git checkout -b feature/new-feature
- Regular commits with conventional commit messages:
git commit -m "feat: add new feature"
git commit -m "fix: address review feedback"
- Rebase before merging:
git fetch origin main
git rebase origin/main