Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.29 KB

readme.md

File metadata and controls

59 lines (37 loc) · 1.29 KB

Git Local Stats 📆

CONTRIBUTIONS

git-local-stats is an CLI tool that allows you to visual all your local git contributions.I found it useful because not all my projects were (are) on GitHub, some are on BitBucket or GitLab, but all the code I work on is on my laptop, so that’s the single source of truth when it comes to contributions.

How it's work ??

git-local-stats take as argument a directory location and contributor name, scan for .git folders in there and in all subdirectories, and aggregates all the commits made by the contributor to finally display the stats as a calendar. COVER

Install 📥

via NPM

npm i -g  git-local-stats

via YARN

yarn add -g git-local-stats

via PNPM

pnpm i -g git-local-stats

Usage 💡

numberCommit flag is optionnel

git-local-stats --help
git-local-stats --path <directory_path> --author <contributor_name> --numberCommit 1000

Development

Build and install locally

  • change install script inside packgage.json by providing valid path and contributor name
npm run install

Build

npm run build

License 🎫

This project is released under the MIT License