Thursday, January 10, 2019

Detached HEAD in GIT and how to fix it .

No comments
What is a 'Detached HEAD' state ?

When you do a "git checkout" you determine which revision of your project you want to work on . GIT then places all the files in that revision in your working folder . We usually do a git checkout on a branch name . However, you can also checkout on a commit id . This is when the detached HEAD state comes into picture .