diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt index 025c911436..aa95334a79 100644 --- a/Documentation/git-rev-list.txt +++ b/Documentation/git-rev-list.txt @@ -29,19 +29,19 @@ to further limit the result. Thus, the following command: ----------------------------------------------------------------------- - $ git rev-list foo bar ^baz +$ git rev-list foo bar ^baz ----------------------------------------------------------------------- means "list all the commits which are reachable from 'foo' or 'bar', but not from 'baz'". A special notation "''..''" can be used as a -short-hand for "{caret}'' ''". For example, either of +short-hand for "^'' ''". For example, either of the following may be used interchangeably: ----------------------------------------------------------------------- - $ git rev-list origin..HEAD - $ git rev-list HEAD ^origin +$ git rev-list origin..HEAD +$ git rev-list HEAD ^origin ----------------------------------------------------------------------- Another special notation is "''...''" which is useful @@ -49,8 +49,8 @@ for merges. The resulting set of commits is the symmetric difference between the two operands. The following two commands are equivalent: ----------------------------------------------------------------------- - $ git rev-list A B --not $(git merge-base --all A B) - $ git rev-list A...B +$ git rev-list A B --not $(git merge-base --all A B) +$ git rev-list A...B ----------------------------------------------------------------------- 'rev-list' is a very essential Git command, since it