Description
Add support for installing CommitGate as a Git pre-push hook in addition to the existing pre-commit hook.
Reason
Feedback from many users indicate that running review scan on every commit adds too much friction to the development workflow.
The pre-push option results in fewer scans, lower API usage, and less development interruption.
Proposed Changes
- Extend hook installation to support both pre-commit and pre-push
- Add configuration options:
- hook_type: pre-commit / pre-push
- Update install hook command to install the selected hook type
- Ensure duplicate hooks are not added
- Update setup instructions.
Acceptance Criteria
Priority
Related Files
Description
Add support for installing CommitGate as a Git pre-push hook in addition to the existing pre-commit hook.
Reason
Feedback from many users indicate that running review scan on every commit adds too much friction to the development workflow.
The pre-push option results in fewer scans, lower API usage, and less development interruption.
Proposed Changes
Acceptance Criteria
Priority
Related Files