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

git-cm

使用描述性的规范提交信息将更改提交到git。在准备好提交已暂存或未暂存的更改时使用。

person作者: jakexiaohubgithub

Git Commit

Commit changes with a conventional commit message.

  1. Check the current git status to understand what has changed.

    • Command: git status
  2. View the diff if necessary to understand the changes better.

    • Command: git diff --staged or git diff
  3. Add all changes to the staging area (unless specific files are requested).

    • Command: git add .
  4. Commit the changes with a descriptive and conventional commit message.

    • Command: git commit -m "<type>: <subject>"
    • Ensure the message follows conventional commit standards (e.g., feat, fix, chore, docs, refactor).