Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Difference between HEAD^ and HEAD~ - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
1 reply
akerbeltz
Difference between HEAD^ and HEAD~
What
's the difference in git between HEAD
^ and HEAD
~
?
specially in these two commands
:
git reset
-
-soft HEAD
~
git reset HEAD
^
Also
, what would be the best way to undo a commit and what would be the best way to undo a commit and a push
?
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Difference between createTRPCNextAppDirServer, createTRPCNext and createTRPCProxyClient?
TTC
Theo's Typesafe Cult / questions
3y ago
Differences between DaisyUI and HeadlessUI
TTC
Theo's Typesafe Cult / questions
3y ago
Fixing a difference between Gecko and Webkit
TTC
Theo's Typesafe Cult / questions
2y ago
Difference between SSR with streaming and new PPR
TTC
Theo's Typesafe Cult / questions
2y ago