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
"proper" 🤔 But, yes, branch instead of checkout -b, avoids the three checkout dance. branch/reset/checkout indeed works... like this:
2
0
1
0
0
Hmmm. Should be able to include optional second argument to specify number of commits to "move", too. Bonus.
0
0
0
0
0
United States Tendenze
- 1. Trench 6,857 posts
- 2. Godzilla 23.3K posts
- 3. Brujas 15.8K posts
- 4. Brugge 35.2K posts
- 5. Barcelona 129K posts
- 6. Richardson 3,175 posts
- 7. Foden 14.9K posts
- 8. Shabbat 1,863 posts
- 9. $DUOL 1,940 posts
- 10. Flick 29.5K posts
- 11. Jacob Frey 18.8K posts
- 12. Anthony Taylor 1,050 posts
- 13. Fermin 9,496 posts
- 14. Hefner 1,157 posts
- 15. Jared Golden 1,448 posts
- 16. Ferran 12K posts
- 17. Lina Khan 6,086 posts
- 18. SCOTUS 31.9K posts
- 19. Hato 24.7K posts
- 20. NYPD 37.8K posts
Loading...
Something went wrong.
Something went wrong.