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 Trendy
- 1. Cowboys 69.5K posts
 - 2. Nick Smith 16.5K posts
 - 3. Kawhi 4,538 posts
 - 4. #LakeShow 3,512 posts
 - 5. Cardinals 31.3K posts
 - 6. #WeTVAlwaysMore2026 779K posts
 - 7. #WWERaw 64.2K posts
 - 8. Kyler 8,726 posts
 - 9. Blazers 8,276 posts
 - 10. Jerry 45.5K posts
 - 11. Jonathan Bailey 30.6K posts
 - 12. Logan Paul 10.6K posts
 - 13. No Luka 3,793 posts
 - 14. Valka 5,013 posts
 - 15. Dalex 2,692 posts
 - 16. Jacoby Brissett 5,826 posts
 - 17. Pacers 13.5K posts
 - 18. Javonte 4,455 posts
 - 19. #AllsFair N/A
 - 20. Bronny 14.6K posts
 
                            Loading...
                        
                    Something went wrong.
Something went wrong.