you see HEAD~1 in git commands all the time, but what is it? 👀 HEAD is where you are now, HEAD~1 is the commit right before it. once it clicks, undo commands make way more sense ☺️
you see HEAD~1 in git commands all the time, but what is it? 👀 HEAD is where you are now, HEAD~1 is the commit right before it. once it clicks, undo commands make way more sense ☺️
0 views
Published on 18/08/2026 13:32
you see HEAD~1 in git commands all the time, but what is it? 👀 HEAD is where you are now, HEAD~1 is the commit right before it. once it clicks, undo commands make way more sense ☺️
1 comment
?
check out my full video on undoing commits up on YouTube👇 youtube.com/@jesstemporal