GitContrib is a command-line tool written in Go that helps you track and visualize your Git contributions over the last six months. It provides functionality to scan for Git repositories in specified folders and generates a graph showing the number of commits made each day.
To use GitContrib, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/GitContrib.git
-
Change into the project directory:
cd GitContrib
-
Build the application:
go build cmd/main/main.go
-
Run the application:
./main
You can add a new folder for scanning Git repositories using the following command:
./main -add /path/to/folder
This command will recursively scan the specified folder and its subfolders, searching for Git repositories. The discovered repositories will be added to the list of tracked repositories.
To view Git contributions stats, use the following command:
./main -email [email protected]
Replace [email protected]
with the email address associated with your Git commits. The tool will generate a graph showing the number of commits made each day over the last six months.
This project is created for learning/testing purposes - Original project can be found here.