3 ms·
> Why do you create a branch via the "git checkout" command? Now there is also `git switch --create` / `git switch -c` for this. Perhaps in time, there will a
by sampo 4y ago
> Why do you create a branch via the "git checkout" command?
Now there is also `git switch --create` / `git switch -c` for this.
Perhaps in time, there will appear different front end dialects for git. Like the statistics programming language R has the base R language, data.table dialect, and the tidyverse dialect.
- anthomtb 4y agoThere is also `git restore` for reverting local or staged changes, the other common use of `git checkout`. I am slowly remapping my keystroke muscle memory away from the footgun that is `git checkout` and using restore/switch. But boy is it hard to undo a decade of practice.