Commit and push code¶
- Only operate on the quillmedical repository — never commit or push to
question-bank/(quill-question-bank) - Check git status and confirm there are changes to commit
- Review the changes and create a clear, descriptive commit message following conventional commit format (e.g., "feat:", "fix:", "refactor:")
- Stage and commit the changes
- If pre-commit hooks fail:
- For auto-fixable issues (formatting, linting): apply fixes and re-commit
- For complex issues: report what needs manual attention
- Rebase if the branch is behind main, resolve any conflicts, and ensure tests pass. Force push if the rebase rewrites history.
- Push to current branch
If at any step there's an error requiring human judgement, stop and report the issue.
Only commit and push code if it is run via this prompt in this file! Do not otherwise commit or push code without the user explicitly asking you to do so.