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. Colts 30.5K posts
- 2. Jets 48.4K posts
- 3. Cheney 166K posts
- 4. AD Mitchell 2,944 posts
- 5. Shaheed 9,481 posts
- 6. Welcome to Indy N/A
- 7. Election Day 145K posts
- 8. Garrett Wilson N/A
- 9. Chris Ballard N/A
- 10. Meyers 13.4K posts
- 11. Quinnen Williams 1,913 posts
- 12. Two 1st 3,701 posts
- 13. Seahawks 18.8K posts
- 14. #ForTheShoe N/A
- 15. Daniel Jones 2,447 posts
- 16. Mamdani 605K posts
- 17. Waddle 6,938 posts
- 18. Jamal Adams N/A
- 19. Mougey N/A
- 20. Olave 2,104 posts
Loading...
Something went wrong.
Something went wrong.