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 الاتجاهات
- 1. Cowboys 25.1K posts
- 2. Jets 87.1K posts
- 3. Bengals 51.9K posts
- 4. Jonathan Taylor 5,285 posts
- 5. Eagles 118K posts
- 6. Caleb 37.9K posts
- 7. Giants 98.1K posts
- 8. Riley Moss 1,020 posts
- 9. Zac Taylor 5,463 posts
- 10. Falcons 39.5K posts
- 11. Bo Nix 4,231 posts
- 12. Saints 28K posts
- 13. Shough 2,646 posts
- 14. Browns 49.5K posts
- 15. Rattler 5,071 posts
- 16. Myles Garrett 9,725 posts
- 17. Sutton 5,044 posts
- 18. #BroncosCountry 2,746 posts
- 19. Bears 67.1K posts
- 20. Blaney 4,246 posts
Loading...
Something went wrong.
Something went wrong.