From: Howard Miller Date: Fri, 04 Sep 2009 15:54:55 GMT Subject: Commit to wrong branch. How to fix? Message-ID: <88A0A7C2-7DCB-45A3-B196-BED2A8AC9405@googlemail.com> I commited to the wrong branch and I can't figure out what to do. To make matters worse I then did 'git reset HEAD^' which has made things much worse. It didn't remove the commit and now I can't change branches. I'm utterly confused. Any help much appreciated! Moral - use git status liberally and read it carefully before doing anything. A 'git undo" command would be great is someone is feeling generous :-)