返回 Skill 列表
extension
分类: 开发与工程无需 API Key

git-commit-cn

生成带有表情符号的传统中文git提交信息。在提交暂存更改时使用。

person作者: jakexiaohubgithub
  1. Analyze changes via git diff --staged and git status.
  2. Determine commit type and emoji using references/commit-types.md and $ARGUMENTS.
  3. Split changes into separate commits by module/type.
  4. Execute commit using HEREDOC: git commit -m "$(cat <<'EOF' \n <type>(<scope>): <emoji> <description> \n EOF)".
  5. Push changes to remote. Confirm before pushing to main or master.
  6. PROHIBITED: Never include Co-Author fields or attribution lines.