4 ms·
`git switch --create` (or `-c`) is the new `git checkout -b`. There is also `git branch --create`, although that doesn't switch you.
by anonymous_sorry 4y ago
`git switch --create` (or `-c`) is the new `git checkout -b`.
There is also `git branch --create`, although that doesn't switch you.
- mejutoco 4y agoI made it up as an example of a future command `git create-branch` :) Thanks for the commands. They are useful.