This guide is for maintainers with write access to the repository.
Key difference from contributors: You can create branches directly in the main repository instead of forking.
Based on existing branches in the repository:
feature/- New features (e.g.,feature/dark-mode,feature/navbar)chore/- Maintenance tasks (e.g.,chore/switch-to-pnpm,chore/organize-files)docs/- Documentation updates (e.g.,docs/update-readme-and-package-metadata)Issue-##- Issue-specific work (e.g.,Issue-10,Issue-67)
Creating a branch:
git checkout main
git pull origin main
git checkout -b <type>/<descriptive-name>Push your branch:
git push -u origin <your-branch-name>Create PR using GitHub CLI (requires installation):
gh pr create --title "Your PR title" --fill- Check the "Files changed" tab
- Comment on lines if needed
- Approve or request changes
If you want to test it locally, use GitHub CLI:
gh pr checkout <PR-number>- Use Squash and Merge to keep history clean
- Optionally delete the contributor's branch (GitHub prompts by default)
Remind them to:
- Create a new branch for each PR
- Keep their fork synced regularly
- GitHub Actions – for linting, testing, or builds
- PR Labelers – auto-label PRs
- CODEOWNERS – assign reviewers automatically