From: Matthieu Moy Date: Mon, 31 May 2010 16:28:48 GMT Subject: Re: Commit to other branch Message-ID: In-Reply-To: <4C03D9C1.1060404@cedarsoft.com> Johannes Schneider writes: > I tried to "git stash " > But then *all* changes are stashed (including my changes)... Not completely answering the question, but "git stash -k" (--keep-index) allows you to do a selective stash. If you have relevant changes staged, and want to commit the unstaged ones elsewhere, you can do something like git stash -k git checkout elsewhere git commit git checkout back-to-your-branch git stash pop -- Matthieu Moy http://www-verimag.imag.fr/~moy/