Closed kevintraver closed 6 months ago
I changed it to use git reset --mixed HEAD~
which I think is a good compromise. I might add --soft
and --hard
as options later if I find it useful.
Hmm, thinking about it, I think "undo" is a bit too generic of a name. Maybe something like "undoLastCommit"?
lgtm!
Hmm, yeah, something as simple as this should be fine. Add it also to the readme and I can merge that