HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gitstats — Git repository statistics generator. More information: <https://gitstats.readthedocs.io/en/stable/ge

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandgeneratorclimorestatisticsgitstatsrepositorygit

Problem

How to use the gitstats command: Git repository statistics generator. More information: <https://gitstats.readthedocs.io/en/stable/getting-started.html#command-line-usage>.

Solution

gitstats — Git repository statistics generator. More information: <https://gitstats.readthedocs.io/en/stable/getting-started.html#command-line-usage>.

Generate statistics for a local repository:
gitstats {{path/to/git_repo/.git}} {{path/to/output_folder}}


View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux:
{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}


Display help:
gitstats {{[-h|--help]}}

Code Snippets

Generate statistics for a local repository

gitstats {{path/to/git_repo/.git}} {{path/to/output_folder}}

View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux

{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}

Display help

gitstats {{[-h|--help]}}

Context

tldr-pages: common/gitstats

Revisions (0)

No revisions yet.