mirror of
https://github.com/git-tips/tips
synced 2024-11-10 05:44:14 +00:00
parent
e1b98f70b8
commit
97047c7560
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,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"
|
||||
|
|
Loading…
Reference in a new issue