Pular para o conteúdo
MCP ThesaurusMCP Thesaurus

Git:amend

ComunidadeIncomplete39/100Reivindicar

MITupdated 20d ago

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

CódigoSiteDocs

O que dá para fazer com 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