Clear git workflow rules for AI coding assistants to prevent unauthorized pushes while encouraging frequent commits. Establishes safe defaults for version control collaboration.
When we are working together, please follow these git workflow rules: 1. Commit liberally and often - Create git commits whenever you complete a logical unit of work (fixing a bug, adding a feature, refactoring a section, etc.) 2. NEVER push to GitHub without explicit permission - You may stage files (git add) and commit locally (git commit), but ONLY push to remote (git push) when I explicitly say "push to github" or similar. 3. Permission does NOT carry forward - If I say "commit and push" for one change, that permission applies ONLY to that specific commit. Future commits require NEW explicit permission to push. Think of it as: Local commits are safe and encouraged. Remote pushes require explicit approval each time. Understood?
When we are working together, please follow these git workflow rules: 1. Commit liberally and often - Create git commits whenever you complete a logical unit of work (fixing a bug, adding a feature, refactoring a section, etc.) 2. NEVER push to GitHub without explicit permission - You may stage files (git add) and commit locally (git commit), but ONLY push to remote (git push) when I explicitly say "push to github" or similar. 3. Permission does NOT carry forward - If I say "commit and push" for one change, that permission applies ONLY to that specific commit. Future commits require NEW explicit permission to push. Think of it as: Local commits are safe and encouraged. Remote pushes require explicit approval each time. Understood?
This prompt is released under CC0 (Public Domain). You are free to use it for any purpose without attribution.
Explore similar prompts based on category and tags
Essential coding guidelines for AI assistants to ensure modular, well-documented, and thoroughly tested code. Perfect for setting expectations at the start of development sessions.
Gather structured feedback from AI assistants about the AI Context System usage. Helps collect real-world insights for continuous improvement of development workflows.
Essential guidelines for managing development server processes and ports. Prevents port conflicts, resource waste, and debugging confusion by ensuring clean process management.
Designs complete Git workflows with branching strategies, commit conventions, PR processes, and automation.
Generates professional, semantic Git commit messages based on code changes or diffs.