Y
Hacker News
new
|
ask
|
show
|
jobs
by
lunarcave
4396 days ago
You mean git revert?
1 comments
michh
4396 days ago
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.
link
eyko
4395 days ago
In that case, git reset
link