mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
git-grep: add Italian translation.
Co-authored-by: Guido Lena Cota <guido.lenacota@kreuzwerker.de>
This commit is contained in:
parent
be3ea1e88b
commit
1d759b1e2b
1 changed files with 25 additions and 0 deletions
25
pages.it/common/git-grep.md
Normal file
25
pages.it/common/git-grep.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# git-grep
|
||||
|
||||
> Cerca stringhe nello storico dei file tracciati nel repository.
|
||||
> Supporta molti degli stessi parametri accettati dal comando `grep` tradizionale.
|
||||
> Maggiori informazioni: <https://git-scm.com/docs/git-grep>.
|
||||
|
||||
- Cerca una stringa nei file tracciati:
|
||||
|
||||
`git grep {{stringa_ricercata}}`
|
||||
|
||||
- Cerca una stringa nei file tracciati che soddisfano un dato pattern:
|
||||
|
||||
`git grep {{stringa_ricercata}} -- {{file_glob_pattern}}`
|
||||
|
||||
- Cerca una stringa nei file tracciati, sottomoduli inclusi:
|
||||
|
||||
`git grep --recurse-submodules {{stringa_ricercata}}`
|
||||
|
||||
- Cerca una stringa in uno dato momento della cronologia del repository:
|
||||
|
||||
`git grep {{stringa_ricercata}} {{HEAD~2}}`
|
||||
|
||||
- Cerca una stringa in tutti i rami:
|
||||
|
||||
`git grep {{stringa_ricercata}} $(git rev-list --all)`
|
Loading…
Add table
Reference in a new issue