Skip to content

Commit 6ed1ec9

Browse files
authored
Merge pull request #190 from AdrianSkar/patch-1
add[alternative]: create and switch branch
2 parents f7c92fd + 97047c7 commit 6ed1ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tips.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
}, {
388388
"title": "Create and switch new branch",
389389
"tip": "git checkout -b <branch-name>",
390-
"alternatives": ["git branch <branch-name> && git checkout <branch-name>"]
390+
"alternatives": ["git branch <branch-name> && git checkout <branch-name>", "git switch -c <branch-name>"]
391391
}, {
392392
"title": "Ignore file mode changes on commits",
393393
"tip": "git config core.fileMode false"

0 commit comments

Comments
 (0)