Merge pull request #190 from AdrianSkar/patch-1

add[alternative]: create and switch branch
This commit is contained in:
hemanth.hm 2021-05-04 15:11:05 -07:00 committed by GitHub
commit 6ed1ec9dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,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"