There are two ways to deal with this situation, one safely, and another
quickly.
And a third one : commit, and then rebase onto the other branch. It's
safe, and nice when your local changes are ready to commit (then, you
can write the commit message before bothering about potential merge
conflicts).
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/