Skip to content

Commit f8bc75a

Browse files
felipecgitster
authored andcommitted
doc: git-checkout: trivial callout cleanup
The callouts are directly tied to the listing above, remove spaces to make it clear they are one and the same. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 667fcf4 commit f8bc75a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Documentation/git-checkout.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,14 +483,11 @@ $ git checkout -b foo # or "git switch -c foo" <1>
483483
$ git branch foo <2>
484484
$ git tag foo <3>
485485
------------
486-
487486
<1> creates a new branch `foo`, which refers to commit `f`, and then
488487
updates `HEAD` to refer to branch `foo`. In other words, we'll no longer
489488
be in detached `HEAD` state after this command.
490-
491489
<2> similarly creates a new branch `foo`, which refers to commit `f`,
492490
but leaves `HEAD` detached.
493-
494491
<3> creates a new tag `foo`, which refers to commit `f`,
495492
leaving `HEAD` detached.
496493

@@ -529,7 +526,6 @@ $ git checkout master~2 Makefile <2>
529526
$ rm -f hello.c
530527
$ git checkout hello.c <3>
531528
------------
532-
+
533529
<1> switch branch
534530
<2> take a file out of another commit
535531
<3> restore `hello.c` from the index

0 commit comments

Comments
 (0)