Comment

Comment by morelisp

If the last thing you did was switch branches do you want to undo switching branches, or undo the last thing you did on the branch?

If the last thing you did was stage, do you want to unstage, or undo the last change outside the staging area?

If undoing the last thing you did is not compatible with the current state of the working copy, what happens?

If your last change was to discard or apply uncommitted changes, how can that be undone? If the answer is "do lots of hidden commits", how does that interact with undo?

parent morelisp 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton