Answers for "undo git stash with conflicts"

0

undo git stash with conflicts

git reset HEAD . (note the trailing dot)
git stash (save the conflicted merge, just in case)
git checkout develop
git fetch upstream; git merge upstream/develop
git checkout <new-branch>; git rebase develop
git stash apply stash@{1}
Posted by: Guest on May-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language