Re: [PATCH v4] doc: checkout: rewrite detached HEAD state explanation
On 2026-11-13 8:54 p.m., Junio C Hamano wrote:
Show 20 quoted lines
> Julia Evans <julia@jvns.ca> writes:
>
>> Okay. How about this? (the added sentence is between the **)
>>
>> For example, a data scientist could use this to run an old version of a
>> data pipeline or a programmer could use this to figure out when a bug
>> was introduced. **You can also use this to make experimental commits
>> without being on a branch.** By detaching `HEAD`, you don't need to
>> create a temporary branch.
> Yes, taking the "data scientist" example as a "pure time machine
> without touching, just observing" scenario, and the "programmer"
> example as an "inspect and experiment" scenario, the addition of
> this single sentence is sufficient to hint at the wide range of
> usefulness to which this feature applies. Nicely done.
>
> I think this is short and thin enough to be good material to be
> shared between the manual for everybody (which would want to cover
> wider workflows with possibly thin coverage on some and thorough
> coverage on others) and a survival guide for those who are lost
> (which can be more targeted towards specific audiences).
Great to hear, I'll submit this with an updated commit message that says more clearly that this is supposed to serve both purposes.