While working with some uncommitted files, I need to pull new code. There's a conflict, so git refuses to pull:
error: Your local changes to the following files would be overwritten by merge:
...
Please, commit your changes or stash them before you can merge.
Question 1: How can I pull and merge with my uncommitted changes? I need to keep on working, I'm not ready to commit, but I want the external code?
Question 2: I ended up doing a stash
followed by a pull
. How do I now merge in my changes to the new pull? How do I apply my stash without clobbering the new changes of the pull?