682 B
682 B
Agent Instructions
Pushing Changes
- Check the working tree before editing:
git status --short --branch - Make the requested changes without modifying unrelated files.
- Review what changed:
git diff - Stage only intended files:
git add <path> - Commit with a conventional commit message:
git commit -m "type: short description" - Push to the tracked remote branch:
git push
If the branch is not tracking a remote yet, push with:
git push -u origin main
Credentials
Do not commit credentials, tokens, .netrc files, or generated askpass scripts.
Use credentials stored outside this repository when authentication is required.