Amending git commits Notice a mistake in your last commit? You can use VS Code’s git UI to amend the commit content and edit the commit message.