Skip to content

Commit 97047c7

Browse files
authored
add[alternative]: create and switch branch
From #186.
1 parent e1b98f7 commit 97047c7

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
@@ -380,7 +380,7 @@
380380
}, {
381381
"title": "Create and switch new branch",
382382
"tip": "git checkout -b <branch-name>",
383-
"alternatives": ["git branch <branch-name> && git checkout <branch-name>"]
383+
"alternatives": ["git branch <branch-name> && git checkout <branch-name>", "git switch -c <branch-name>"]
384384
}, {
385385
"title": "Ignore file mode changes on commits",
386386
"tip": "git config core.fileMode false"

0 commit comments

Comments
 (0)