3 ms·
It would be so much easier to use git if there was simply a "git undo" that would cleanly undo the last git command (or last n commands would be even better).
by gerbilly 8y ago
It would be so much easier to use git if there was simply a "git undo" that would cleanly undo the last git command (or last n commands would be even better).
Then you could learn more easily via exploration and experimentation.
And I do mean just one command to undo all the things, I know that you can undo a lot of things in git but each command is different, and I know that undoing pushes is hard.