Undoing accidental git stash pop -
i stashed local changes before doing complicated merge, did merge, stupidly forgot commit before running git stash pop
. pop created problems (bad method calls in big codebase) proving hard track down. ran git stash show
, @ least know files changed. if nothing else, guess lesson commit more.
my question: possible undo stash pop without undoing merge?
try using how recover dropped stash in git? find stash popped. think there 2 commits stash, since preserves index , working copy (so index commit empty). git show
them see diff , use patch -r
unapply them.
Comments
Post a Comment