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 Trends
- 1. Trench 7,015 posts
- 2. Godzilla 23.2K posts
- 3. Brugge 33.5K posts
- 4. Barcelona 131K posts
- 5. Foden 13.9K posts
- 6. Richardson 3,235 posts
- 7. Brujas 12.9K posts
- 8. Shabbat 1,815 posts
- 9. $DUOL 1,877 posts
- 10. Jacob Frey 18.5K posts
- 11. Flick 29.4K posts
- 12. Hefner 1,149 posts
- 13. Lina Khan 6,006 posts
- 14. Jared Golden 1,404 posts
- 15. Ferran 12K posts
- 16. Minneapolis 55.7K posts
- 17. Hato 24.8K posts
- 18. NYPD 38.2K posts
- 19. Tosin 14K posts
- 20. Stearns N/A
Loading...
Something went wrong.
Something went wrong.