Last active
October 21, 2021 07:51
-
-
Save za/f05138f06036996a53b655b58e4ce40c to your computer and use it in GitHub Desktop.
git revert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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