4 ms·You mean git revert?by lunarcave 12y agoYou mean git revert?michh 12y agoThat 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 12y agoIn that case, git reset