diff --git a/2019/2019-06-11_gitTraining/slides/branches.md b/2019/2019-06-11_gitTraining/slides/branches.md index 7e369bb4347b2edb14adf1d9e333b84bb621e713..dd75ef7a1f944ce74a5662723c66d762a66ca1d8 100644 --- a/2019/2019-06-11_gitTraining/slides/branches.md +++ b/2019/2019-06-11_gitTraining/slides/branches.md @@ -53,7 +53,7 @@ Exit by typing `q`. The branch with the * is the current branch. Checkout another branch ```bash -$ git checkout branchName +$ git checkout <branchName> ``` <div class="fragment"> @@ -62,6 +62,7 @@ You can switch to the `develop` branch with ```bash $ git checkout develop ``` +If the local branch does not exist but the remote does, it is created automatically. <div class="fragment">