HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by lunarcave | Hacker News Reader
Parent
Full thread
lunarcave
·
You mean git revert?
View on HN
michh
·
That reverts the diff a commit causes, but doesn't undo `git commit` which is what I suspend OP meant. Of course, there's `git reset` for that, but they were asking for an alias.
eyko
·
In that case, git reset
Reply on news.ycombinator.com