Julia Evans on Nostr: what are some situations where you've needed to think about what HEAD is in git? so ...
what are some situations where you've needed to think about what HEAD is in git?
so far I have:
- git reset --hard HEAD
- git diff HEAD
- git push origin HEAD
- "detached HEAD state"
what else?
Published at
2024-03-07 18:08:54Event JSON
{
"id": "fc419e45d51ab2ca74d8a14f467c71ae04dd4e4d5e58239d22f8e637e9ae11cc",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1709834934,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/112055742296557571",
"activitypub"
]
],
"content": "what are some situations where you've needed to think about what HEAD is in git?\n\nso far I have:\n\n- git reset --hard HEAD\n- git diff HEAD\n- git push origin HEAD\n- \"detached HEAD state\"\n\nwhat else?",
"sig": "cf47a65cc9c42e43121f41a1643767df9bbe636aacbd8ef410f09b44caf0d13d5205ca1ae88c09579efa11cdee3b44b4c299001adbcc4c182d78f99aac605ac0"
}