Skip to content

Instantly share code, notes, and snippets.

@zenius
Created September 29, 2020 01:56
Show Gist options
  • Save zenius/68d3cc45511598d56862a5e93b5c9e0e to your computer and use it in GitHub Desktop.
Save zenius/68d3cc45511598d56862a5e93b5c9e0e to your computer and use it in GitHub Desktop.
modifying the latest commit message in github
1. On the command line, navigate to the repository that contains the commit you want to amend.
2. Type git commit --amend and press Enter.
3. In your text editor, edit the commit message and save the commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment