Last active
August 29, 2015 14:15
-
-
Save pbrewczynski/7b4c51e720909540e68a to your computer and use it in GitHub Desktop.
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 lg # custom log output | |
* 4fda718 (HEAD, master, develop) Commit B | |
* 1fd3a0d Initial commit | |
git branch # we are on master | |
develop | |
* master | |
git reset --hard 1fd3a0d | |
HEAD is now at 1fd3a0d Initial commit | |
#Should't it be "HEAD is STILL pointing to the master, but MASTER is now pointing to the 1fd3a0d Initial commit ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment