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 เทรนด์
- 1. Blake Snell 4,258 posts
- 2. #AEWDynamite 6,345 posts
- 3. #Survivor49 N/A
- 4. Jaylen Brown 6,772 posts
- 5. Davis Schneider 3,106 posts
- 6. Game 5 54.5K posts
- 7. Sam Hauser N/A
- 8. Liverpool 187K posts
- 9. Derek Shelton N/A
- 10. Donovan Mitchell 2,709 posts
- 11. Boasberg 28.2K posts
- 12. Erika Kirk 27.9K posts
- 13. #ChicagoMed N/A
- 14. #StandXHalloween N/A
- 15. Magic 329K posts
- 16. BACK TO BACK 956K posts
- 17. #SellingSunset 2,521 posts
- 18. Orange Cassidy N/A
- 19. Darby Allin N/A
- 20. Slot 112K posts
Loading...
Something went wrong.
Something went wrong.