Skip to main content

Generating overall statistics for multiple git repositories

Project description

Gitstat

https://travis-ci.org/suminb/gitstats.svg?branch=develop https://coveralls.io/repos/github/suminb/gitstats/badge.svg?branch=develop

Visualizes overall code commits for multiple Git repositories. The red indicates my own commits whereas the blue indicates your teammates’.

http://s1.postimg.org/mrnwnla3j/2014.png

Installation

pip install gitstats

Usage

The following example shows how gitstats discovers all Git repositories in the home directory to consolidate all commit logs.

Git Repository Analysis

gitstats analyze ~ > gitstats.json

The target directory may be a single repository.

gitstats analyze ~/work/project_x > gitstats.json

If you would like to exclude certain repositories, put a .exclude file in each directory you want to exclude from the statistics. Note that the content of the file is irrelevant.

Generating Commit Graphs

gitstats generates annual commit graphs that are similar to what GitHub shows on each user’s page. However, the major difference is that gitstats differentiates your commits from others based on your email address(es).

gitstats generate_graph gitstats.json 2017 --email ${your_email} > 2017.svg

If you have multiple email addresses, you may pass them as follows:

gitstats generate_graph gitstats.json 2017 --email ${your_email1} --email ${your_email2} > 2017.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitstats-0.2.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file gitstats-0.2.3.tar.gz.

File metadata

  • Download URL: gitstats-0.2.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitstats-0.2.3.tar.gz
Algorithm Hash digest
SHA256 9b9a7eee56c5d04badd58776dfaab384ef5864fb21c1aa3d41c5b4ea4a096af8
MD5 d193405c388712a56b923692fc078de7
BLAKE2b-256 2a8ec25271299b636b7dfa7729ac4c8f005a5a1ec71459e8f799b766987e4d4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page