Monday, 20 June 2016

Dealing With “Detached HEAD” State in Git

Source : Dealing With “Detached HEAD” State in Git
Published On : June 20, 2016 at 12:54PM
By : Collins Agbonghama

When you pull in branches from your repository remote or upstream by running say git pull origin master (to pull changes from origin master branch) or git pull upstream non-breaking-space to pull in non-breaking-space branch from upstream; checking out any of these remote branch (e.g. git checkout upstream/non-breaking-space) will result in detached HEAD state because they aren’t proper branches as they do not (currently) exist locally.…



For More Go to : W3Guy – A Geek's Diary

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home