I'm working on a git branch that has a lot of merge conflicts with another branch that I've merged into it. I started fixing the conflicts but want to save my work and switch to another branch before I finish the merge process.
Is it possible to stash the changes in the unfinished merge process to switch to another branch and then switch back and finish the merge?
I've spent a lot of time working on fixing the conflicts and I don't want to do this work again. What's the best way to proceed?
I'm using git version 1.7.10
Since a merge is a process, you can't stash "changes" in the middle of the process.
Your best bet is to clone the repo into another directory.
PS. Ben is always right.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With