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 Trends
- 1. StandX 5,054 posts
- 2. Good Wednesday 27.6K posts
- 3. #NationalCatDay 1,070 posts
- 4. Hump Day 14K posts
- 5. #wednesdaymotivation 3,088 posts
- 6. #MAYATVAWARDS2025 1.19M posts
- 7. Huda 16.4K posts
- 8. South Korea 115K posts
- 9. #Wednesdayvibe 1,851 posts
- 10. Mandy Patinkin 4,891 posts
- 11. ZNN AT MAYA25 607K posts
- 12. Happy Hump 8,557 posts
- 13. #PutThatInYourPipe N/A
- 14. Jay Z 7,462 posts
- 15. Wayne 104K posts
- 16. Bill Gates 72K posts
- 17. Tapper 31.3K posts
- 18. Eminem 12.4K posts
- 19. Namjoon 230K posts
- 20. Sudan 417K posts
Loading...
Something went wrong.
Something went wrong.