diff options
Diffstat (limited to '')
-rw-r--r-- | _tils/2020-08-28-grep-online-repositories.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/_tils/2020-08-28-grep-online-repositories.md b/_tils/2020-08-28-grep-online-repositories.md index a9e0166..4b972fd 100644 --- a/_tils/2020-08-28-grep-online-repositories.md +++ b/_tils/2020-08-28-grep-online-repositories.md @@ -104,9 +104,16 @@ Réception d'objets: 100% (7063/7063), 8.69 Mio | 5.39 Mio/s, fait. Résolution des deltas: 100% (5047/5047), fait. /tmp/git-search/cgit ~/dev/libre/songbooks/docs README: $ make get-git + $ git search 'make get-git' https://git.zx2c4.com/cgit/ /tmp/git-search/cgit ~/dev/libre/songbooks/docs README: $ make get-git +``` + +Subsequent greps on the same repository are faster because no download is needed. + +When no argument is provided, it prints the usage text: +```shell $ git search Missing argument REGEX_PATTERN. @@ -122,5 +129,3 @@ Examples: git search 'make get-git' https://git.zx2c4.com/cgit/ git search 'make get-git' https://git.zx2c4.com/cgit/ -- $(git rev-list --all) ``` - -Subsequent greps on the same repository are faster because no download is needed. |