EnglishFrenchSpanish

OnWorks favicon

gitstats - Online in the Cloud

Run gitstats in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gitstats that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gitstats - git history statistics generator

SYNOPSIS


gitstats [options] <repository dir> <output dir>

DESCRIPTION


gitstats is a statistics generator for git(1) repositories. It examines the repository and
produces some interesting statistics from the history of it. Currently HTML is the only
output format.

OPTIONS


-c option=value

Override a default configuration value. Defaults can be seen by running gitstats without
parameters.

Values:
authors_top
How many top authors to show.

commit_begin, commit_end
Specify a commit range to generate statistics from. You can specify only commit_end
limit statistics to a certain commit or another branch.

linear_linestats
When enabled, the lines of code statistics are collected from linear history. The
downside is that commits of long feature branches appear only at the point where a
merge commit is made.

If disabled (old behaviour), the problem is that if two branches contain the same
changes (for example, removal of same lines), the statistics get skewed.

Defaults to on.

max_authors
How many authors to show in the list of authors.

max_domains
How many domains to show in domains by commits.

max_ext_length
Maximum file extension length.

processes
Number of concurrent processes to use when extracting git repository data.

project_name
Project name to show on the generated pages. Default is to use basename of the
repository directory.

start_date
Specify a starting date to pass with --since to git.

style
CSS stylesheet to use.

FAQ


Q: How do I generate statistics of a non-master branch?

A: Use "-c commit_end=web" parameter.

Q: I have files in my git repository that I would like to exclude from the statistics, how
do I do that?

A: At the moment the only way is to use git-filter-branch(1) to create a temporary
repository and generate the statistics from that.

Q: How do I merge author information when the same author has made commits using different
names or emails ?

A: Use git .mailmap feature described in MAPPING AUTHORS of git-shortlog(1).

EXAMPLES


Generates statistics from a git repository in "foo" and outputs the result in a directory
"foo_stats":
gitstats foo foo_stats

As above, but only analyzes the last 10 commits:
gitstats -c commit_begin='HEAD~10' foo foo_stats

AUTHORS


gitstats was written by Heikki Hokkanen and others.

See the git repository at https://github.com/hoxu/gitstats for an up-to-date full list of
contributors.

WWW


http://gitstats.sourceforge.net/

Use gitstats online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad