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 Tendenze
- 1. #NationalCatDay 3,962 posts
- 2. FOMC 48.6K posts
- 3. Azure 16.3K posts
- 4. Huda 29.2K posts
- 5. The Federal Reserve 13.8K posts
- 6. Powell 35.6K posts
- 7. Jennifer Welch 11.4K posts
- 8. Hutch 1,505 posts
- 9. #SaveSudan 1,575 posts
- 10. NBA Street 2,590 posts
- 11. #SpaceMarine2 2,092 posts
- 12. #Spooktacular25 N/A
- 13. #SellingSunset N/A
- 14. Olandria 48.8K posts
- 15. Jake Browning N/A
- 16. South Korea 171K posts
- 17. Miran 12.7K posts
- 18. Vistoso Bosses N/A
- 19. Jay Z 10.4K posts
- 20. 25 BPS 9,032 posts
Loading...
Something went wrong.
Something went wrong.