git amend

To apply latest changes to the last commit, go to Tools > Git > Local Repository > Amend Last Commit.

Amending a Git commit

To view the log of the current branch, select the branch name in Branch.

To view the commit in its current form before amending, select Show HEAD.

To view a diff of the changes in the selected files, select Diff Selected Files.

Select Commit to amend the commit.

To amend an earlier comment in a series of related commits, select Tools > Git > Local Repository > Fixup Previous Commit. This operation uses interactive rebase. In case of conflicts, a merge tool is suggested.

To modify the commit message of the final commit, select Edit commit message. When the rebase is performed, an editor to edit the commit message appears.

See also How to: Use Git and Using Git.