Git: committed to wrong branch
        Posted  
        
            by Sleepycat
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sleepycat
        
        
        
        Published on 2010-05-31T05:30:21Z
        Indexed on 
            2010/05/31
            5:32 UTC
        
        
        Read the original article
        Hit count: 232
        
git
D'oh! I just made a perfectly good commit to the wrong branch. How do I undo the last commit in my master branch and then take those same changes and get them into my upgrade branch?
Thanks!
© Stack Overflow or respective owner