Git Conventional Committer
When to Use
- •After implementing a cohesive set of changes ready for version control.
- •When preparing a handoff that requires code committed/pushed.
Workflow
- •Run
git statusand review staged/unstaged files. Clean up any unwanted artifacts (use.gitignoreif needed). - •Stage relevant files (
git add <paths>). - •Craft a conventional commit message:
type(scope?): summary(e.g.,feat(codeswiftr): add manual review API). Types:feat,fix,docs,refactor,test,build,chore. - •Execute
git commit -m "message". - •Pull latest main:
git pull --rebase origin main(resolve conflicts if any). - •Push:
git push origin HEAD. - •Record the commit hash and summary in
docs/progress.mdor relevant log.
Guidelines
- •Ensure tests/lints pass before committing.
- •Avoid committing secrets or large binaries.
- •Use multiple commits if work spans unrelated concerns.