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
        I would have thought cherry-pick then reset head would be a *lot* cleaner....
1
            0
            2
            0
            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
                This is a great idea. I'm okay with the extra checkouts. I put something similar together at github.com/ironcodestudio…. Thanks.
0
                0
                1
                0
                0
                United States Tendances
- 1. Cowboys 69.4K posts
 - 2. Nick Smith 15.9K posts
 - 3. Kawhi 4,484 posts
 - 4. Cardinals 31.2K posts
 - 5. #LakeShow 3,510 posts
 - 6. #WWERaw 63.5K posts
 - 7. Jerry 45.7K posts
 - 8. #WeTVAlwaysMore2026 608K posts
 - 9. Kyler 8,657 posts
 - 10. Blazers 8,207 posts
 - 11. Jonathan Bailey 28.3K posts
 - 12. Logan Paul 10.4K posts
 - 13. No Luka 3,780 posts
 - 14. Valka 4,974 posts
 - 15. Jacoby Brissett 5,771 posts
 - 16. Dalex 2,647 posts
 - 17. Pacers 13.4K posts
 - 18. Pickens 6,708 posts
 - 19. Bronny 14.8K posts
 - 20. Javonte 4,435 posts
 
                            Loading...
                        
                    Something went wrong.
Something went wrong.