# git-commit > 提供 git-commit 的操作流程与约束;适用于 需要在当前分支提交本地变更时使用。 - Author: wildmaker - Repository: wildmaker/skills-sync - Version: 20260122125652 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/wildmaker/skills-sync - Web: https://mule.run/skillshub/@@wildmaker/skills-sync~git-commit:20260122125652 --- --- name: git-commit description: 提供 git-commit 的操作流程与约束;适用于 需要在当前分支提交本地变更时使用。 --- # git-commit ## What this skill does - 用中文总结本次变更 - 生成并提交本地 commit ## Constraints - 提交信息必须基于实际变更 - 未经确认不执行 `git push` 或 `--amend` ## Allowed commands - `git status` - `git diff` - `git add` - `git commit` ## Steps 1. 查看当前变更并用中文总结要点。 2. 组织简洁提交信息并执行 `git commit`。