Skip to content

searching.asc: mention that "git grep" can search the index as well#1079

Merged
ben merged 2 commits intomasterfrom
unknown repository
Jun 11, 2018
Merged

searching.asc: mention that "git grep" can search the index as well#1079
ben merged 2 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 9, 2018

Signed-off-by: Robert P. J. Day rpjday@crashcourse.ca

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
==== Git Grep

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.
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.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the Oxford comma is a bit controversial, but for consistency can you use it here?

@ghost
Copy link
Copy Markdown
Author

ghost commented Jun 11, 2018

Toss it in, you have my blessing. :-)

@ben ben merged commit 3f8547d into progit:master Jun 11, 2018
@ghost ghost deleted the searching branch June 11, 2018 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants