Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Commit to wrong branch. How to fix?

From: Howard Miller <hidden>
Date: 2016-06-15 22:47:21

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 :-) 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help