1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:22:07 +02:00

onefetch: add page (#13924)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Lena 2024-10-02 14:24:22 +02:00 committed by GitHub
parent 69adf51f65
commit e545c7475d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages/common/onefetch.md Normal file
View file

@ -0,0 +1,36 @@
# onefetch
> Display project information and code statistics for a local Git repository.
> More information: <https://github.com/o2sh/onefetch/wiki>.
- Display statistics for the Git repository in the current working directory:
`onefetch`
- Display statistics for the Git repository in the specified directory:
`onefetch {{path/to/directory}}`
- Ignore commits made by bots:
`onefetch --no-bots`
- Ignore merge commits:
`onefetch --no-merges`
- Don't print the ASCII art of the language logo:
`onefetch --no-art`
- Show `n` authors, languages, or file churns (default: 3, 6, and 3 respectively):
`onefetch --number-of-{{authors|languages|file-churns}} {{n}}`
- Ignore the specified files and directories:
`onefetch {{-e|--exclude}} {{path/to/file_or_directory|regular_expression}}`
- Only detect languages from the specified categories (default: programming and markup):
`onefetch {{-T|--type}} {{programming|markup|prose|data}}`