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

View file

@ -387,7 +387,7 @@
}, { }, {
"title": "Create and switch new branch", "title": "Create and switch new branch",
"tip": "git checkout -b <branch-name>", "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", "title": "Ignore file mode changes on commits",
"tip": "git config core.fileMode false" "tip": "git config core.fileMode false"