JoeDalton24 / git-local-stats

an CLI tool that allows you to visual all your local git contributions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 βœ”

About

an CLI tool that allows you to visual all your local git contributions

License:MIT License


Languages

Language:TypeScript 74.3%Language:JavaScript 25.7%