Merge pull request #940 from pcottle/updateSwitchDisclaimer

Resolves #915 -- update language about switch command
This commit is contained in:
Peter Cottle 2022-03-01 09:11:40 -07:00 committed by GitHub
commit 1338339d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,9 +119,10 @@ exports.level = {
"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 <a href=\"https://git-scm.com/docs/git-switch\" target=\"_blank\">learn more here</a>.* "
"which is somewhat overloaded (it does a bunch of different things depending on the arguments). The lessons here will still use ",
"`checkout` instead of `switch` because the `switch` command is still considered experimental and the syntax may change in the future. ",
"However you can still try out the new `switch` command in this application, and also ",
"<a href=\"https://git-scm.com/docs/git-switch\" target=\"_blank\">learn more here</a>.* "
]
}
},