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 Trendy
- 1. #GrandEgyptianMuseum 26.6K posts
- 2. #capcutlovers N/A
- 3. Good Saturday 14.3K posts
- 4. Game 7 77K posts
- 5. Happy New Month 190K posts
- 6. jungkook 818K posts
- 7. Nigeria 437K posts
- 8. #RUNSEOKJIN_epTOUR_ENCORE 378K posts
- 9. Kawhi 8,663 posts
- 10. vmin 5,179 posts
- 11. GenG 12.9K posts
- 12. #Jin_TOUR_ENCORE 326K posts
- 13. Ja Morant 6,045 posts
- 14. Shirley Temple N/A
- 15. Barger 6,189 posts
- 16. Tinubu 48.2K posts
- 17. Glasnow 6,917 posts
- 18. Justin Dean 2,735 posts
- 19. Halloween 2025 194K posts
- 20. Merry Christmas 10.8K posts
Loading...
Something went wrong.
Something went wrong.