Git display local HEAD location

Display HEAD pointer

$ cat .git/HEAD
ref: refs/heads/foo1

Display HEAD pointer (detached head case)

$ cat .git/HEAD
1fd2aa6a8ff7205c91fde3d9557c6d67eeaf4eb1
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments