Skip to content

Commit 3b80719

Browse files
authored
Add -b flag to checkout
I think this is necessary to create a new branch
1 parent 81ef1bd commit 3b80719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/HowToGuides/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ git remote add my-remote https://github.com/username/swift.git
343343
Finally, create a new branch.
344344
```sh
345345
# Using 'my-branch' as a placeholder name
346-
git checkout my-branch
346+
git checkout -b my-branch
347347
git push --set-upstream my-remote my-branch
348348
```
349349

0 commit comments

Comments
 (0)