git HEAD detached from after reset --hard
<p>I needed to do away with changes that I made to the working directory and go back and start from the last commit, so I did <code>git reset --hard</code>  </p>

<p>Now when I do git commit and git status I get this string in red saying "HEAD detached from: and some 7 char number.
I did few commits since then but not sure about this red message.  </p>

<p>Did I muck it up and what am I suppose to do to "fix" it? or it is not broken? Thanks</p>