Skip to content

a visualization tool of contribution stats from local git repos

Notifications You must be signed in to change notification settings

hpbyte/go-git-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-git-graph

go-git-graph is a tool for visualizing contribution stats from your local git repositories.

We often have separate GitHub accounts for personal and work, or have repositories across various platforms like BitBucket or GitLab. This can make it tricky to get a unified view of all our contributions. But in the end, our local machine is a single-source-of-truth for all of our contributions, so that's why this tool can be used to visualize in a unified way.

Screenshot

Installation

To install go-git-graph, follow these steps:

git clone https://github.com/hpbyte/go-git-graph

cd go-git-graph/cmd/go-git-graph

go build -o ggg

Configuration

Please create a config file named .ggg.conf.toml in your home directory as follows:

cd ~

# pls update with your git users' emails
echo -e "[user]\nemails = [\"[email protected]\", \"[email protected]\", \"[email protected]\"]" > .ggg.conf.toml

Usage

After building the project, you can run it using:

./ggg

Help is also available via:

./ggg -h

By default, it scans in the current directory. In order to scan in a specific directory:

./ggg -p /path/to/dir

By default, stats are calculated for the current year. To see the stats by a specific year:

./gggg -p /path/to/dir -y 2023

Scanned directories are always cached, you can clear this cache by:

./ggg -p /path/to/dir -c true

About

a visualization tool of contribution stats from local git repos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages