Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Last active August 29, 2015 14:15
Show Gist options
  • Save pbrewczynski/7b4c51e720909540e68a to your computer and use it in GitHub Desktop.
Save pbrewczynski/7b4c51e720909540e68a to your computer and use it in GitHub Desktop.
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