Change:
Like: git commit --amend
Are you referring to the out of the box git behavior or any particular git extension?
I would guess the out of the box behaviour, because it seems to be missing? I can see there is an "undo last commit", but this unstages everything from the last commit, which is not the same thing as amending the current commit. git-gui and atom have a simple checkbox which then amends the current commit instead of creating a new one - would it be possible to have the same in vscode? It's the one thing that stops me using vscode's built in git interface. In other words, you should be able to check and then uncheck the checkbox and be left in the original state. With the "undo last commit", this isn't possible.
Yes, out of the box
command was some time ago by
Should there be something in the menu? Please can you tell me where the option is?
Hmmm.... looks like it has disappeared for some reason, probably was omitted when git integration was ported to new API... will probably know if it was by-design, or just someone missed one command while porting git integration.
I believe we simply missed it... sorry for that.
I'll add it again.

Discussion:
"category": "Git" }, { <ins> "command": "git.commitStagedAmend", "title": "%command.commitStagedAmend%", "category": "Git" }, { </ins> "command": "git.commitAll", "title": "%command.commitAll%", "category": "Git"

"category": "Git" }, { <ins> "command": "git.commitAllAmend", "title": "%command.commitAllAmend%", "category": "Git" }, { </ins> "command": "git.undoCommit", "title": "%command.undoCommit%", "category": "Git"

"when": "config.git.enabled && scmProvider == git && gitState == idle" }, { <ins> "command": "git.commitStagedAmend", "when": "config.git.enabled && scmProvider == git && gitState == idle" }, { </ins> "command": "git.commitAll", "when": "config.git.enabled && scmProvider == git && gitState == idle" },

"when": "config.git.enabled && scmProvider == git && gitState == idle" }, { <ins> "command": "git.commitAllAmend", "when": "config.git.enabled && scmProvider == git && gitState == idle" }, { </ins> "command": "git.undoCommit", "when": "config.git.enabled && scmProvider == git && gitState == idle" },

"when": "config.git.enabled && scmProvider == git && gitState == idle" }, { <ins> "command": "git.commitStagedAmend", "group": "3_commit", "when": "config.git.enabled && scmProvider == git && gitState == idle" }, { </ins> "command": "git.commitAll", "group": "3_commit", "when": "config.git.enabled && scmProvider == git && gitState == idle"

"when": "config.git.enabled && scmProvider == git && gitState == idle" }, { <ins> "command": "git.commitAllAmend", "group": "3_commit", "when": "config.git.enabled && scmProvider == git && gitState == idle" }, { </ins> "command": "git.undoCommit", "group": "3_commit", "when": "config.git.enabled && scmProvider == git && gitState == idle"

"command.commit": "Commit", "command.commitStaged": "Commit Staged", "command.commitStagedSigned": "Commit Staged (Signed Off)", <ins> "command.commitStagedAmend": "Commit Staged (Amend)", </ins> "command.commitAll": "Commit All", "command.commitAllSigned": "Commit All (Signed Off)", <ins> "command.commitAllAmend": "Commit All (Amend)", </ins> "command.undoCommit": "Undo Last Commit", "command.checkout": "Checkout to...", "command.branch": "Create Branch...",

await this.commitWithAnyInput({ all: false, signoff: true }); } <ins> @command('git.commitStagedAmend') async commitStagedAmend(): Promise<void> { await this.commitWithAnyInput({ all: false, amend: true }); } </ins> @command('git.commitAll') async commitAll(): Promise<void> { await this.commitWithAnyInput({ all: true });

await this.commitWithAnyInput({ all: true, signoff: true }); } <ins> @command('git.commitAllAmend') async commitAllAmend(): Promise<void> { await this.commitWithAnyInput({ all: true, amend: true }); } </ins> @command('git.undoCommit') async undoCommit(): Promise<void> { const HEAD = this.model.HEAD;