From 550c2f056affa38e769c1406a28306299230e3be Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Thu, 5 Nov 2020 08:58:27 -0700 Subject: [PATCH] Resolves #750 -- reference git switch --- src/levels/intro/branching.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/levels/intro/branching.js b/src/levels/intro/branching.js index 7cf07c2f..bd771f20 100644 --- a/src/levels/intro/branching.js +++ b/src/levels/intro/branching.js @@ -110,6 +110,17 @@ exports.level = { "beforeCommand": "git branch newImage" } }, + { + "type": "ModalAlert", + "options": { + "markdowns": [ + "*Note: In Git version 2.23, a new command called `git switch` was introduced to eventually replace `git checkout`, ", + "which is somewhat overloaded as a command (it does a bunch of separate things). The lessons here will still use ", + "`checkout` instead of `switch` because most people won't have access to `switch` yet, but support for the new command ", + "works in the app if you want to try it out! You can [learn more here](https://git-scm.com/docs/git-switch).* " + ] + } + }, { "type": "ModalAlert", "options": {