From: Ron Parker Date: Thu, 10 May 2007 19:43:23 GMT Subject: Switching branch before commit Message-ID: <769697AE3E25EF4FBC0763CD91AB1B0201D496E7@MBGMail01.mobot.org> I know this is probably a FAQ and I thought I found it somewhere once, but... How do I commit changes from in my working directory to another (possibly non-existent) branch? All too often I am working on changes and realize I am sitting on master or a topic branch and I need to commit my mods to different branch. I really don't like: git commit git branch git reset --hard HEAD^ Is there anything like: git commit -b [...]? If not, would patches to implement such a change be accepted?