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 141d891 commit f84a7aaCopy full SHA for f84a7aa
intermediate/index.md
@@ -350,9 +350,25 @@ $ git log --patch --color-words
350
351
{% capture slide %}
352
```shell
353
-# Create a new branch from current one
+# Create a new branch from the current one
354
355
-git branch
+$ git branch [branch-name]
356
+```
357
+{% endcapture %}{% include slide-section %}
358
+
359
+{% capture slide %}
360
+```shell
361
+# Switch to a specified branch
362
363
+$ git checkout [branch-name]
364
365
366
367
368
369
+# List all local branches
370
371
+$ git branch
372
```
373
{% endcapture %}{% include slide-section %}
374
0 commit comments