Skip to content

Instantly share code, notes, and snippets.

@za
Last active October 21, 2021 07:51
Show Gist options
  • Save za/f05138f06036996a53b655b58e4ce40c to your computer and use it in GitHub Desktop.
Save za/f05138f06036996a53b655b58e4ce40c to your computer and use it in GitHub Desktop.
git revert
git revert is making a new commit by reverting the selected commit
```
$ git revert <$commit-id>
```
it's different with git reset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment