mirror of
https://github.com/git-tips/tips
synced 2024-11-10 05:44:14 +00:00
Merge pull request #186 from AdrianSkar/patch-1
alternatives: create and switch new branch
This commit is contained in:
commit
f7c92fd9ea
1 changed files with 4 additions and 0 deletions
|
@ -992,6 +992,10 @@ __Alternatives:__
|
|||
git branch <branch-name> && git checkout <branch-name>
|
||||
```
|
||||
|
||||
```sh
|
||||
git switch -c <branch-name>
|
||||
```
|
||||
|
||||
## Ignore file mode changes on commits
|
||||
```sh
|
||||
git config core.fileMode false
|
||||
|
|
Loading…
Reference in a new issue