Branching
Rules
- Always branch off from
main - One branch per issue — do not mix multiple issues in one branch
- Delete your branch after it is merged
Branch Naming Format
<type>/<short-description>
Examples
feat/candidate-profile-header
fix/date-picker-end-date-toggle
docs/update-contributing-guide
chore/upgrade-shadcn-ui
refactor/extract-profile-header-component
Creating a Branch
# Make sure you are on main and up to date
git checkout main
git pull origin main
# Create and switch to a new branch
git checkout -b feat/candidate-profile-header
Pushing a Branch
git push origin feat/candidate-profile-header
After Your PR is Merged
# Switch back to main
git checkout main
# Pull the latest changes
git pull origin main
# Delete the local branch
git branch -d feat/candidate-profile-header