Okay, one more... Ever commit something only to immediately realize that you're on the wrong branch? Use "git move <branch>".
                                            15
            63
            165
            1
            0
        It's pick your poison, really. Here's the same end result using cherry-pick:
                                            2
            0
            1
            0
            0
        It *would* have the advantage of saving the metadata from the original commit, but that's three checkouts, so likely much slower.
1
            0
            0
            0
            0
        Also this way, any uncommitted changes remain uncommitted after copy.
1
                0
                1
                0
                0
                Yep (though somewhere in the thread, I wrapped the original in a stash & pop, so same result).
1
                0
                1
                0
                0
                United States Tendências
- 1. Cuomo 106K posts
 - 2. Walt Weiss 2,460 posts
 - 3. #OlandriaxCFDAAwards 2,834 posts
 - 4. Caleb Wilson N/A
 - 5. Braves 11.4K posts
 - 6. Harvey Weinstein 6,874 posts
 - 7. Cardinals 14.5K posts
 - 8. Snit N/A
 - 9. Diane Ladd 5,992 posts
 - 10. Teen Vogue 3,443 posts
 - 11. Hamburger Helper 2,502 posts
 - 12. Schwab 5,075 posts
 - 13. Monday Night Football 6,596 posts
 - 14. #warmertogether N/A
 - 15. Ben Shapiro 36.9K posts
 - 16. $PLTR 19.6K posts
 - 17. McBride 4,131 posts
 - 18. Gold's Gym 62K posts
 - 19. Michael Burry 2,241 posts
 - 20. #sjubb N/A
 
                            Loading...
                        
                    Something went wrong.
Something went wrong.