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 personally just "git checkout -b NEWBRANCH" then go back to the previous branch and reset to the last good commit
1
            0
            2
            0
            0
        So... three checkouts by the time you get back to the new branch to continue working?
1
            0
            0
            0
            0
        Again, only one is necessary if you use proper commands like branch and reset.
1
                0
                0
                0
                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
                United States Tendencias
- 1. Halloween 2.15M posts
- 2. YouTube TV 73.3K posts
- 3. ESPN 70.5K posts
- 4. Hulu 22.5K posts
- 5. JESSICA LANGE 8,856 posts
- 6. Grier 11.9K posts
- 7. YTTV 1,529 posts
- 8. Fubo 2,787 posts
- 9. McDaniel 12.9K posts
- 10. Travis Hunter 2,988 posts
- 11. Trick 603K posts
- 12. Ridiculousness 2,795 posts
- 13. ryan murphy 1,901 posts
- 14. evan peters 6,081 posts
- 15. Elmo 15.8K posts
- 16. Dearborn 12.7K posts
- 17. #FursuitFriday 12K posts
- 18. Auda City 3,642 posts
- 19. #FanCashDropPromotion 1,035 posts
- 20. DirecTV 1,541 posts
                            Loading...
                        
                    Something went wrong.
Something went wrong.
 
             
            