Julia Evans on Nostr: it's interesting that HEAD means slightly different things depending on the ...
it's interesting that HEAD means slightly different things depending on the situation, for example:
1. “git show HEAD" means "show me the latest commit on the current branch"
2. “5aad10 (HEAD -> main)" in git log's output means “your current branch is `main`, and 5aad10 is the latest commit on `main`”
3. “<<<<<<<<< HEAD" in a merge conflict honestly means nothing to me, I just ignore the HEAD because the meaning is inconsistent between merge and rebase and it's too confusing
1. “git show HEAD" means "show me the latest commit on the current branch"
2. “5aad10 (HEAD -> main)" in git log's output means “your current branch is `main`, and 5aad10 is the latest commit on `main`”
3. “<<<<<<<<< HEAD" in a merge conflict honestly means nothing to me, I just ignore the HEAD because the meaning is inconsistent between merge and rebase and it's too confusing