Commit the changes and push to the origin remote, without creating a PR.
Trigger conditions
Use this skill when the user asks to commit changes and push (but does not need to open a PR).
Execution steps
-
Create a new branch:
git checkout -b <branch-name>, with the branch name specified by the user or automatically generated based on the changes. If the user wants to commit directly on the current branch, skip this step. -
Review changes: first use
git statusandgit diffto check all changes yourself, making sure no temporary files, debug code, or unrelated files are mixed in. -
Stage files:
git addthe relevant changed files. Do not usegit add -Aorgit add ., but add the relevant files one by one.
-
Commit changes:
git commit --signoff --author="Cheney Zhang <chen.zhang@zilliz.com>" -m "<commit message>"- Write the commit message in English, briefly describing the changes.
- Absolutely nevermention AI, Claude, LLM, or any auto-generation-related wording in the commit message.
-
Push the branch:
git push origin <branch-name>。
Notes
- Before committing, check whether there are unstaged changes that need to be handled.
- All commits require
--signoff, with the author being "Cheney Zhang chen.zhang@zilliz.com"。 - No AI-related wording may appear in the commit message.