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 26K posts
- 2. Jets 88.6K posts
- 3. Bengals 52.2K posts
- 4. Jonathan Taylor 5,556 posts
- 5. Eagles 119K posts
- 6. Caleb 38.3K posts
- 7. Giants 98.7K posts
- 8. Riley Moss 1,101 posts
- 9. Saints 28.6K posts
- 10. Zac Taylor 5,538 posts
- 11. Shough 2,874 posts
- 12. Falcons 39.7K posts
- 13. Bo Nix 4,348 posts
- 14. Browns 50K posts
- 15. Rattler 5,207 posts
- 16. Sutton 5,236 posts
- 17. #BroncosCountry 2,853 posts
- 18. Myles Garrett 9,952 posts
- 19. Blaney 4,316 posts
- 20. Bears 67.6K posts
Loading...
Something went wrong.
Something went wrong.