add[alternative]: create and switch branch

From #186.
This commit is contained in:
Adrian Skar 2020-12-19 12:00:49 +01:00 committed by GitHub
parent e1b98f70b8
commit 97047c7560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@
}, {
"title": "Create and switch new branch",
"tip": "git checkout -b <branch-name>",
"alternatives": ["git branch <branch-name> && git checkout <branch-name>"]
"alternatives": ["git branch <branch-name> && git checkout <branch-name>", "git switch -c <branch-name>"]
}, {
"title": "Ignore file mode changes on commits",
"tip": "git config core.fileMode false"