- Analyze changes via
git diff --stagedandgit status. - Determine commit type and emoji using references/commit-types.md and
$ARGUMENTS. - Split changes into separate commits by module/type.
- Execute commit using HEREDOC:
git commit -m "$(cat <<'EOF' \n <type>(<scope>): <emoji> <description> \n EOF)". - Push changes to remote. Confirm before pushing to
mainormaster. - PROHIBITED: Never include Co-Author fields or attribution lines.
分类: 开发与工程无需 API Key
git-commit-cn
生成带有表情符号的传统中文git提交信息。在提交暂存更改时使用。
微信扫一扫