Skip to content

Commit 21d777f

Browse files
Thadeu Lima de Souza Cascardogitster
authored andcommitted
Makes some cleanup/review in gittutorial
There are some different but little cleanup changes to fix some missing quotes, to fix what seemed to be an unended sentence, to reident a little paragraph with too large a sentence and fix a branch name that was referred to twice later by another name. Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fe10498 commit 21d777f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Documentation/gittutorial.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ alice$ git log -p HEAD..FETCH_HEAD
332332
------------------------------------------------
333333

334334
This operation is safe even if Alice has uncommitted local changes.
335-
The range notation HEAD..FETCH_HEAD" means "show everything that is reachable
336-
from the FETCH_HEAD but exclude anything that is reachable from HEAD.
335+
The range notation "HEAD..FETCH_HEAD" means "show everything that is reachable
336+
from the FETCH_HEAD but exclude anything that is reachable from HEAD".
337337
Alice already knows everything that leads to her current state (HEAD),
338-
and reviewing what Bob has in his state (FETCH_HEAD) that she has not
339-
seen with this command
338+
and reviews what Bob has in his state (FETCH_HEAD) that she has not
339+
seen with this command.
340340

341341
If Alice wants to visualize what Bob did since their histories forked
342342
she can issue the following command:
@@ -375,9 +375,9 @@ it easier:
375375
alice$ git remote add bob /home/bob/myrepo
376376
------------------------------------------------
377377

378-
With this, Alice can perform the first part of the "pull" operation alone using the
379-
'git-fetch' command without merging them with her own branch,
380-
using:
378+
With this, Alice can perform the first part of the "pull" operation
379+
alone using the 'git-fetch' command without merging them with her own
380+
branch, using:
381381

382382
-------------------------------------
383383
alice$ git fetch bob
@@ -566,22 +566,22 @@ $ git log v2.5.. Makefile # commits since v2.5 which modify
566566

567567
You can also give 'git-log' a "range" of commits where the first is not
568568
necessarily an ancestor of the second; for example, if the tips of
569-
the branches "stable-release" and "master" diverged from a common
569+
the branches "stable" and "master" diverged from a common
570570
commit some time ago, then
571571

572572
-------------------------------------
573-
$ git log stable..experimental
573+
$ git log stable..master
574574
-------------------------------------
575575

576-
will list commits made in the experimental branch but not in the
576+
will list commits made in the master branch but not in the
577577
stable branch, while
578578

579579
-------------------------------------
580-
$ git log experimental..stable
580+
$ git log master..stable
581581
-------------------------------------
582582

583583
will show the list of commits made on the stable branch but not
584-
the experimental branch.
584+
the master branch.
585585

586586
The 'git-log' command has a weakness: it must present commits in a
587587
list. When the history has lines of development that diverged and

0 commit comments

Comments
 (0)