Require automatic upstream pushes
Request: - Make AGENTS.md explicitly require automatic pushes to the remote after commits. Changes: - Add a Git Workflow rule to push the current branch to its configured upstream remote after a successful commit. - Add a reporting rule for missing upstream configuration or failed pushes. Verification: - Reviewed the updated Git Workflow section. - Ran git diff --check.
This commit is contained in:
@@ -73,6 +73,8 @@ Strong success criteria let you loop independently. Weak criteria ("make it work
|
||||
|
||||
## Git Workflow (Automatic Commits)
|
||||
- After each completed repository change, create a focused git commit automatically before the final response.
|
||||
- After a successful commit, push the current branch to its configured upstream remote automatically before the final response.
|
||||
- If no upstream remote is configured, or if the push fails, report the skipped/failed push with the exact reason.
|
||||
- Use small, focused commits.
|
||||
- Use rich multi-line commit messages so `git log` is the primary step-by-step history for this repo.
|
||||
- All generated code and documentation outputs should be written in English by default.
|
||||
|
||||
Reference in New Issue
Block a user