Skip to content

Instantly share code, notes, and snippets.

@johngorithm
Forked from eliza-abraham/revert_commits
Created June 6, 2022 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johngorithm/37735a3fa3fc72fc966d9e1c348cc4e1 to your computer and use it in GitHub Desktop.
Save johngorithm/37735a3fa3fc72fc966d9e1c348cc4e1 to your computer and use it in GitHub Desktop.
Reverting Commits
Clean way to revert a commit by also leaving a log of the revert
$ git revert --strategy resolve <commit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment