Demystifying the scary detached HEAD in Git
Published in
4 min readFeb 6, 2021
I agree, the You are in 'detached' HEAD state
message does sound scary. I wish the creators of Git picked a less alarming one. But let me put your worries at ease - the detached HEAD state is easily reversible and is a natural state of a project. Here's what the full message looks like: