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 Tren
- 1. Halloween 5.45M posts
- 2. Mookie 9,425 posts
- 3. Gausman 6,969 posts
- 4. #SmackDown 14.3K posts
- 5. #OPLive N/A
- 6. #DoorDashTradeorTreat 2,579 posts
- 7. Drummond 3,190 posts
- 8. #sweepstakes 3,657 posts
- 9. Ted Noffey 1,130 posts
- 10. #OPNation N/A
- 11. Syracuse 3,526 posts
- 12. Ilja 2,881 posts
- 13. Trick or Treat 459K posts
- 14. Nathan Frazer N/A
- 15. End 1Q N/A
- 16. End of 1 21.6K posts
- 17. 3-0 Dodgers N/A
- 18. Game 6 48.5K posts
- 19. Hugo Gonzalez N/A
- 20. Reese 6,640 posts
Loading...
Something went wrong.
Something went wrong.