Skip to content

Commit 04a7124

Browse files
committed
Merge branch 'gj/user-manual-fix-grep-example'
Fix an example in the user-manual. * gj/user-manual-fix-grep-example: doc: fix git grep args order in Quick Reference
2 parents 49e6a7c + 5514f14 commit 04a7124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/user-manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4466,7 +4466,7 @@ $ git show # most recent commit
44664466
$ git diff v2.6.15..v2.6.16 # diff between two tagged versions
44674467
$ git diff v2.6.15..HEAD # diff with current head
44684468
$ git grep "foo()" # search working directory for "foo()"
4469-
$ git grep v2.6.15 "foo()" # search old tree for "foo()"
4469+
$ git grep "foo()" v2.6.15 # search old tree for "foo()"
44704470
$ git show v2.6.15:a.txt # look at old version of a.txt
44714471
-----------------------------------------------
44724472

0 commit comments

Comments
 (0)