alternatives: create and switch new branch

Add alternative to 
`996 ## Create and switch new branch`
using git switch 
ref: https://git-scm.com/docs/git-switch
This commit is contained in:
Adrian Skar 2020-07-16 17:41:10 +02:00 committed by GitHub
parent 36c15874fd
commit 8305c4a4c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -974,6 +974,10 @@ __Alternatives:__
git branch <branch-name> && git checkout <branch-name>
```
```sh
git switch -c <branch-name>
```
## Ignore file mode changes on commits
```sh
git config core.fileMode false