Skip to content

Commit 3f8547d

Browse files
authored
Merge pull request #1079 from rpjday/searching
searching.asc: mention that "git grep" can search the index as well
2 parents bee8a35 + 6cc94f5 commit 3f8547d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/07-git-tools/sections/searching.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We'll go through a few of them.
88
[[_git_grep]]
99
==== Git Grep
1010

11-
Git ships with a command called `grep` that allows you to easily search through any committed tree or the working directory for a string or regular expression.
11+
Git ships with a command called `grep` that allows you to easily search through any committed tree, the working directory, or even the index for a string or regular expression.
1212
For the examples that follow, we'll search through the source code for Git itself.
1313

1414
By default, `git grep` will look through the files in your working directory.

0 commit comments

Comments
 (0)