Strict workflow and safety constraints for committing and pushing only the files the agent modified in the current task or session, instead of all repo changes. Use when the user wants a scoped git commit/push, wants to avoid touching unrelated edits in a dirty worktree, or asks to "push what you did", "只提交你改的文件", or similar selective commit requests.
Use this skill when the user wants a git commit and push that includes only the files you edited for the current task.
git add -Agit status, git diff, git log --oneline -5git pull --rebase and then git pushgit status --short -- <path> or equivalentgit add -A, git commit -a, or any equivalent all-files shortcutgit diff --cached-u origin <current-branch>git pull --rebase and retryCommit&Pushgit add -- <paths>git diff --cached --stat before committingpush what you did只提交并推送你这次改的文件不要碰别人的改动,把你做的提交上去commit only your changes and push