Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pinoy420
on March 2, 2025
|
parent
|
context
|
favorite
| on:
I struggled with Git, so I'm making a game to spar...
git reset --hard HEAD~1
fragmede
on March 3, 2025
[–]
lol not sure why this got downvoted unless it's because ~1 is redundant and you can either do HEAD^ or HEAD~ and save one keystroke
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: