Skip to content
MCP ThesaurusMCP Thesaurus

Git:amend

CommunityIncomplete39/100Claim

MITupdated 20d ago

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

SourceWebsiteDocs

What can you do with 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