Git Workflow Guide
Helps follow consistent git workflow practices.
Branch Naming
feat/description— new featuresfix/description— bug fixeschore/description— maintenance tasksdocs/description— documentation updates
Commit Messages
Use conventional commits format:
type(scope): description
feat(auth): add OAuth2 login flow
fix(api): handle null response from /users endpoint
chore(deps): update typescript to 5.4
Pull Request Process
- Create a feature branch from
main - Make commits with clear messages
- Push and open a pull request
- Request review from at least one team member
- Address review feedback
- Squash merge into main
Rebasing
Keep branches up to date with main:
git fetch origin
git rebase origin/main
Resolve conflicts file by file. Never force-push to shared branches.