git-commit-push
Original:🇨🇳 Chinese
Translated
Commit changes and push to origin without creating a PR
11installs
Sourcezc277584121/mygitplugin
Added on
NPX Install
npx skill4agent add zc277584121/mygitplugin git-commit-pushTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Git Commit & Push
Commit changes and push to the origin remote without creating a PR.
Trigger Conditions
This skill is used when the user requests to commit changes and push (but does not need to create a PR).
Execution Steps
-
Create a new branch:, the branch name is specified by the user or automatically generated based on the changes. If the user wants to commit directly to the current branch, skip this step.
git checkout -b <branch-name> -
Review changes: First useand
git statusto check all changes yourself to ensure that no temporary files, debugging code or unrelated files are included.git diff -
Stage files: Useto add relevant changed files. Do not use
git addorgit add -A; instead, add relevant files one by one.git add . -
Commit changes:bash
git commit --signoff --author="Cheney Zhang <chen.zhang@zilliz.com>" -m "<commit message>"- The commit message should be written in English and concisely describe the changes.
- Never mention AI, Claude, LLM or any words related to automatic generation in the commit message.
-
Push the branch:.
git push origin <branch-name>
Notes
- Check if there are any unstaged changes that need to be handled before committing.
- All commits require , with the author being "Cheney Zhang chen.zhang@zilliz.com".
--signoff - No AI-related words can appear in the commit message.