poll: how confident do you feel that you know what HEAD means in git?

ok here's a different question: what do you think HEAD means in git? mostly interested in answers from folks who are not confident in their answer

(please no arguing or telling other people they're wrong, I'm just curious about people's different impressions, if people are "wrong" in some way, IMO that's git's fault for being confusing and I want to know about it)

Follow

@b0rk

Currently checked out commit or a reference to it (depending on how it was specified when checking out). I expect e.g. `git checkout <file>` to pull that file from HEAD.

I'm not sure what happens if HEAD points at a ref and I modify that ref using an operation that doesn't normally affect working tree/index.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.