跳到正文
MCP ThesaurusMCP Thesaurus

Git:amend

社区Incomplete39/100认领

MITupdated 20d ago

Stage current changes and amend them into the most recent commit without changing the commit message.

源码官网文档

Git:amend 能做什么?


name: "git:amend" description: "Amend the last commit with staged changes" user-invocable: true

Amend Last Commit

Stage current changes and amend them into the most recent commit without changing the commit message.

  1. Run git add -A
  2. Run git commit --amend --no-edit
  3. Report the updated commit hash