Skip to main content

Git Stats — Cool Visualisations For Local Git Statistics With Contribution Calendars


git stat
Git Stats is a command line tool, which lets a developer see the contribution percentages of project contributors, see global or user commit activity, filtered by date and other options. To use this tool, you need nodejs and npm installed on your system. You can visit git-stats GitHub repository to see all the options.

Github user IonicaBizau, made this awesome tool called git-stats. Git Stats lets you see useful git statistics like percentage of contribution of the project contributors, overall GitHub calendar like activity on the command line. 
To use it you need nodejs and npm installed on your system (npm is automatically installed when you install nodejs).
You could either install it in any git project, locally, or do a global install via npm.
Then you could run —
It’ll show you what flags and options you could use Git Stats with.
For example, to see all the authors of ui-element-samples google repository, cd into the repository and type —
Here, you’ll get a cute little retro looking command line pie chart, and contributors’ percentage of contributions.
Git Stats: Authors
If we do —
Here, Git Stats shows the global activity calendar in the repository that you are in.
Git Stats: Global Statistics
There are many other options that you can use such as —
It will show you all the commits since Jan 1, 2017, in the GitHub looking calendar.
Similarly, there’s an –until option.
You could switch to light theme using this command
Git Stats works fine in terminal emulators supporting ANSI styles. It should work fine on Linux and OS X.
If you run Git Stats on display graph on Windows, please use a terminal that can properly display ANSI colors. Windows Command Prompt and Git Bash wouldn’t work.
To know all the options visit git-stats github repository.
Share with us how your commits look in the calendar, in your git project!

Comments

Follow Us

WHAT'S HOT

How To Speed Up Windows Using ReadyBoost And USB Drive? Does It Still Work?

In Microsoft Windows, ReadyBoost is a software feature that speeds up the system by storing application files and data as cache in a USB drive. This is beneficial in case the system is running a slow hard drive. The ReadyBoost works with USB drives, SD cards, and CF cards. However, it may not be able to deliver considerable performance in the

Which Is The Best Operating System For Gaming Among SteamOS , Ubuntu And Windows 10

Years ago, MS-DOS was the ‘go to’ operating system when you wanted to engage in prolonged gaming sessions but its complexity required that a better alternative should be provided to the masses that will also feature a unique interface for easy use. After years of

VIDEO: KLY & DJ Maphorisa ft. eMTee & Patoranking – SnapThatSh!t

Ambitiouz Entertainment presents the official music video to “SnapThatSh!t” by its budding act, KLYalongside prolific South African producer, Maphorisa, raving South African rapper, eMTee and Nigeria’s music sensation, Patoranking.

How To Install Ubuntu MATE For The Raspberry Pi 2 and Raspberry Pi 3

Ubuntu MATE:  We have done what we can to optimise the build for the Raspberry Pi 2 and Raspberry Pi 3, you can comfortably use applications such as LibreOffice and Firefox. But the microSDHC I/O throughput is a bottleneck so  we  highly  recommend that you use a Class 6 or Class 10 microSDHC  card.  Ubuntu MATE 16.04 also fully supports the built-in Bluetooth and Wifi on