You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/07-git-tools/sections/searching.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ We'll go through a few of them.
8
8
[[_git_grep]]
9
9
==== Git Grep
10
10
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.
12
12
For the examples that follow, we'll search through the source code for Git itself.
13
13
14
14
By default, `git grep` will look through the files in your working directory.
0 commit comments