I have some stuff I have been working on and I have managed to get the 'head detached at commit' error. I need to put the commit back on the master branch as I have no other copy of my work and I cant risk losing it.... Really scared to lose my work.
Thanks for any help.