Created
February 27, 2017 11:04
-
-
Save leylaKapi/4a0e367d3da93968eccd8368ec4b7b33 to your computer and use it in GitHub Desktop.
git undo commit revert, reset
This file contains hidden or 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 log | |
git reset --hard COMMITID | |
git revert COMMITID | |
git checkout e3a3f28 | |
git checkout feature/something | |
git merge e3a3f28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment