Skip to content

Instantly share code, notes, and snippets.

@ppdouble
Created August 18, 2023 09:04
Show Gist options
  • Save ppdouble/2cbd705491797908a32ed1a0a8068e01 to your computer and use it in GitHub Desktop.
Save ppdouble/2cbd705491797908a32ed1a0a8068e01 to your computer and use it in GitHub Desktop.
git change pushed commit comment
git commit --amend -m "New commit message."
git push --force <remoteName> <branchName>
# https://linuxize.com/post/change-git-commit-message/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment