HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by pinoy420 | Hacker News Reader
Parent
Full thread
pinoy420
·
git reset --hard HEAD~1
View on HN
fragmede
·
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
Reply on news.ycombinator.com