mirror of https://github.com/CrimsonTome/tldr.git
git-grep: add new example (#3203)
parent
8465f20ccb
commit
41d82606b5
|
@ -19,3 +19,7 @@
|
|||
- Search for a string at a specific point in history:
|
||||
|
||||
`git grep {{search_string}} {{HEAD~2}}`
|
||||
|
||||
- Search for a string across all branches:
|
||||
|
||||
`git grep {{search_string}} $(git rev-list --all)`
|
||||
|
|
Loading…
Reference in New Issue