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 Trends
- 1. Cuomo 106K posts
 - 2. Walt Weiss 2,450 posts
 - 3. #OlandriaxCFDAAwards 2,627 posts
 - 4. Caleb Wilson N/A
 - 5. Braves 11.4K posts
 - 6. Harvey Weinstein 6,800 posts
 - 7. Cardinals 14.4K posts
 - 8. Snit N/A
 - 9. Diane Ladd 5,961 posts
 - 10. Teen Vogue 3,270 posts
 - 11. Hamburger Helper 2,466 posts
 - 12. Schwab 5,023 posts
 - 13. Monday Night Football 6,596 posts
 - 14. Ben Shapiro 36.7K posts
 - 15. $PLTR 19.5K posts
 - 16. #warmertogether N/A
 - 17. McBride 4,100 posts
 - 18. Gold's Gym 61.8K posts
 - 19. #sjubb N/A
 - 20. Jaidyn N/A
 
                            Loading...
                        
                    Something went wrong.
Something went wrong.