You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ git branch
17
17
```
18
18
You should only see a `main` branch right now. To create a new branch named `learn-html` run
19
19
```
20
-
git branch -c learn-html
20
+
git branch learn-html
21
21
```
22
22
Now list all the repository branches again
23
23
```
24
24
git branch
25
25
```
26
-
Do you see the new `learn-html` branch? Notice that the `main` branch is starred, which means that we're currently working within it. Creating a new branch with `git branch -c` will not automatically switch you into it.
26
+
Do you see the new `learn-html` branch? Notice that the `main` branch is starred, which means that we're currently working within it. Creating a new branch with `git branch` will not automatically switch you into it.
0 commit comments