diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-01-21 17:54:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-01-21 17:54:30 -0800 |
commit | a75aada385d663fe4451d0f91aab3aa07c0d85e6 (patch) | |
tree | 5ac7a0bf8355168914ff02768c14974e7fbff526 /git-checkout.txt | |
parent | 635978b311f6f7a8658016e600a28eb8740b062d (diff) | |
download | git-htmldocs-a75aada385d663fe4451d0f91aab3aa07c0d85e6.tar.gz |
Autogenerated HTML docs for v2.39.1-308-g56c8f
Diffstat (limited to 'git-checkout.txt')
-rw-r--r-- | git-checkout.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-checkout.txt b/git-checkout.txt index 4cb9d555b..9f116acdb 100644 --- a/git-checkout.txt +++ b/git-checkout.txt @@ -477,9 +477,9 @@ before that happens. If we have not yet moved away from commit `f`, any of these will create a reference to it: ------------ -$ git checkout -b foo <1> -$ git branch foo <2> -$ git tag foo <3> +$ git checkout -b foo # or "git switch -c foo" <1> +$ git branch foo <2> +$ git tag foo <3> ------------ <1> creates a new branch `foo`, which refers to commit `f`, and then |