Skip to content

Instantly share code, notes, and snippets.

@phynet
Created July 5, 2016 14:33
Show Gist options
  • Select an option

  • Save phynet/b06f6ed53063cf8ca5b7909284d2c1e6 to your computer and use it in GitHub Desktop.

Select an option

Save phynet/b06f6ed53063cf8ca5b7909284d2c1e6 to your computer and use it in GitHub Desktop.
Rewrite message in remote commit
git commit --amend
git push --force-with-lease <remote><branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment