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 Tendencias
- 1. Game 7 73K posts
- 2. jungkook 788K posts
- 3. #Talus_Labs N/A
- 4. Kawhi 7,425 posts
- 5. Ja Morant 5,285 posts
- 6. Glasnow 6,578 posts
- 7. Barger 5,986 posts
- 8. Happy New Month 125K posts
- 9. vmin 3,060 posts
- 10. Sasaki 10.9K posts
- 11. Bulls 31.2K posts
- 12. #RipCity N/A
- 13. Grizzlies 7,197 posts
- 14. Clement 5,038 posts
- 15. Roki 7,686 posts
- 16. Halloween 2025 203K posts
- 17. Justin Dean 2,419 posts
- 18. Yamamoto 36.1K posts
- 19. #LetsGoDodgers 11.2K posts
- 20. Rojas 11.2K posts
Loading...
Something went wrong.
Something went wrong.