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 Trends
- 1. Steelers 41.5K posts
- 2. Brian Kelly 54.8K posts
- 3. Cowboys 37.8K posts
- 4. Packers 29.3K posts
- 5. #GoPackGo 5,205 posts
- 6. Tucker Kraft 3,702 posts
- 7. Broncos 38.6K posts
- 8. #HereWeGo 4,279 posts
- 9. Aaron Rodgers 13K posts
- 10. Zeus 15.7K posts
- 11. Jonathan Taylor 11.8K posts
- 12. Roman Wilson N/A
- 13. Gizelle 2,131 posts
- 14. V AT VOGUE WORLD 91.8K posts
- 15. Jassi 2,232 posts
- 16. Jets 97.3K posts
- 17. Joe Milton 1,272 posts
- 18. #snfonnbc N/A
- 19. Bo Nix 7,969 posts
- 20. #sundaynightfootball N/A
Loading...
Something went wrong.
Something went wrong.