Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 97047c7

Browse files
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

‎tips.json

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /