Skip to content

Commit f7c92fd

Browse files
authored
Merge pull request #186 from AdrianSkar/patch-1
alternatives: create and switch new branch
2 parents 474306e + 8305c4a commit f7c92fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,10 @@ __Alternatives:__
992992
git branch <branch-name> && git checkout <branch-name>
993993
```
994994

995+
```sh
996+
git switch -c <branch-name>
997+
```
998+
995999
## Ignore file mode changes on commits
9961000
```sh
9971001
git config core.fileMode false

0 commit comments

Comments
 (0)