From e545c7475d84c359a361a7cc3c8008d07555024e Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:24:22 +0200 Subject: [PATCH] onefetch: add page (#13924) Co-authored-by: Wiktor Perskawiec --- pages/common/onefetch.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/onefetch.md diff --git a/pages/common/onefetch.md b/pages/common/onefetch.md new file mode 100644 index 000000000..95eb0acca --- /dev/null +++ b/pages/common/onefetch.md @@ -0,0 +1,36 @@ +# onefetch + +> Display project information and code statistics for a local Git repository. +> More information: . + +- 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}}`