We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13b0a2 commit 603b31cCopy full SHA for 603b31c
GitDocs/Common Git tasks.md
@@ -72,12 +72,11 @@ This sections describe several common tasks you will perform to accomplish work.
72
2. Check out the working branch
73
74
```
75
- git checkout newbranch
+ git checkout -B newbranch
76
77
78
- This tells git to switch to the working branch context. The command prompt in the Git Shell
79
- should show this branch name. Git also updates the files on disk to match the state of this
80
- branch.
+ This tells git create a new branch and switch to that branch context. The command prompt in the Git Shell
+ should show this branch name.
81
82
3. Make additions and changes to your content.
83
0 commit comments