Created
September 25, 2013 16:28
-
-
Save joncode/6702230 to your computer and use it in GitHub Desktop.
MOVING A BRANCH POINTER
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 reset --hard 10123974102937840192374 | |
| this moves the pointer to that commit. This is what you want most of the time | |
| git reset --soft 0238947293842937429384723 | |
| this moves the pointer and via an index that you commit , very strange. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment