I love git switch -c branch-name often I forget to checkout a branch start building a feature then realise I'm on the wrong branch.
Using
git switch will move all your changes onto a new branch, if the branch doesn't exist it will create it. Very handy!
David Carr
Web developer
I love
git switch -c branch-nameoften I forget to checkout a branch start building a feature then realise I'm on the wrong branch.Using
git switch will move all your changes onto a new branch, if the branch doesn't exist it will create it. Very handy!