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 Trends
- 1. #NationalCatDay 3,921 posts
- 2. FOMC 47.7K posts
- 3. Azure 16.1K posts
- 4. The Federal Reserve 12.8K posts
- 5. Huda 28.8K posts
- 6. Powell 33.9K posts
- 7. Jennifer Welch 11.4K posts
- 8. Hutch 1,500 posts
- 9. #SaveSudan 1,562 posts
- 10. NBA Street 2,549 posts
- 11. #SpaceMarine2 2,058 posts
- 12. #Spooktacular25 N/A
- 13. #SellingSunset N/A
- 14. Olandria 47.6K posts
- 15. Jake Browning N/A
- 16. Jay Z 1,482 posts
- 17. South Korea 170K posts
- 18. Miran 12.5K posts
- 19. 25 BPS 8,639 posts
- 20. Vistoso Bosses N/A
Loading...
Something went wrong.
Something went wrong.