If my git repository is in a 'Detach Head' state, when i do 'git pull', it still can pull in the new commits remotely.
And I see the new commits after i do 'git pull'.
My question is 'if my repository is in Detach head' state, and I have made some local commits (did not push) and then I do 'git pull', I see the new commits, but my local commits are gone.
Why is that? and where/how i can see my local commits?
Thank you.