# with file changes git commit --amend -m "Commit Message" # without file changes, update only commit message git commit --amend -m "Updated Commit Message" --no-edit