3 ms·
"Undo" is usually more like `git reset --hard HEAD@{1}`, ie. using the reflog. Nothing wrong with this at all. Only people who don't understand and/or are scar
by globular-toast 3y ago
"Undo" is usually more like `git reset --hard HEAD@{1}`, ie. using the reflog.
Nothing wrong with this at all. Only people who don't understand and/or are scared of git don't like it.
You could also use cherry-pick to "donate" commits to other branches, instead of stash, of course. Magit has some great extra abstractions for this.