I work both with Linux and with Windows, where I use cygwin
for git
. The latter is usually good enough, but for more complicated operations it's damn slow and not all tools are available or work properly.
That's why I quite often push my changes from Windows to my private "server" repository, pull them on Linux, clean things up and force-push-pull them back. Normally, this works perfectly, but when a merge conflict occurs I can't commit and thus there's nothing to push.
Given the flexibility of git, I'm sure there's a way to transfer the current state to another repository. My question is "how?".