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

Best Gaming Linux Distros You Need To Try In 2017

Gaming on Linux scene is improving each year with better hardware support and increasing support from game developers. Apart from established distros like Ubuntu and Arch Linux, gamers are using gaming Linux distros like Steam OS to get a better experience. The other It’s gaming operating systems are Sparky Linux – Gameover

Learn How To Activate iOS 11 Dark Mode

Apart from all the major iOS 11 features and changes, there are some hidden and minor features as well. In this release, Apple has included a feature named Smart Invert Colors, which is the closest you can get while looking for an iOS 11 dark mode.

Microsoft Set To Put Fingerprint Sensor In Keyboard Keys

According to a new patent titled “ Keyset Fingerprint Sensor ,” Microsoft might be working to integrate the fingerprint sensor in keyboard keys. The fingerprint recognition might be done

Latest Linux Distribution Releases List

This list is prepared with the inputs from different Linux distro developers and the official release notes. But, before going ahead and taking a look at latest releases, don’t forget to check out our useful lists of best Linux distros of 2017: Best Linux Distro For Beginners Best Linux Distro For Gamers Best Lightweight Linux Distros Best Operating Systems For Ethical Hacking Linux Distribution Releases (July 2017) Linux Mint 18.2 Release Date: July 2nd, 2017 You can read about Linux Mint 18.2 Sonya in detail  on 9jabreezeland . 4MLinux 22.0 Release Date: July 1st, 2017 4MLinux 22.0 is the latest stable release. It comes loaded with LibreOffice 5.4.0.1, GIMP 2.8.22, Dropbox 28.4.14, Firefox 54.0, Chromium 59.0.3071.86, etc. The biggest change comes with 4MLinux Server, which is a lightweight and fast server Linux distro. You can read more about 4MLinux 22.0  here . Netrunner 17.06 Release Date: July 1st, 2017 Netrunner 17.06, codenamed Daed...