Re: [PATCH v4] doc: checkout: rewrite detached HEAD state explanation
- From
Julia Evans <julia@jvns.ca>
- Date
- Nov 12, 2026, 22:45 UTC
- Message-ID
- <4d6f9b6a-e658-4797-bc4a-0cfc533056d8@jvns.ca>
- In-Reply-To
- <xmqqik21j1ie.fsf@gitster.g>
Show 6 quoted lines
> I think the central difference is that you > seem to consider detached HEAD state is only about pure sightseeing > while it was designed to allow touching and breaking. If the user > is not making any changes, of course it does not make sense to talk > about "your current changes" or "next commit". But detached HEAD is > not limited to such a world view.
We say very clearly that you can make commits while in detached HEAD state so I don't think there's any danger of readers not realizing that's possible.
But it's important to know that if you create new commits while in detached HEAD state, those commits won't be on a branch.