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

Facebook Trying To Get Rid Of Fake, Low-Quality Live Videos

Facebook is updating its Live guidelines to limit the reach of fake and low-quality content. It's explicitly disallowing publishers from posting prerecorded videos as if they're livestreams and it also won't allow for static/looping images or livestreamed polls.

Poco F2 Pro 5G Officially Launched Globally With Snapdragon 865

After months of wait, Poco has officially launched Poco F2 Pro. The phone is a sequel to the Poco F1 which was a huge success for the company back in 2018. It is also the second Poco contender in 2020. In February, the Poco brand revealed a new phone lineup and launched Poco X2. The phone was priced at Rs 15,999 and featured similar specs of Redmi K30, a Xiaomi flagship that was launched back in 2018. The company has applied the same strategy for today’s launch. As we expected, Poco F2 Pro bundles all the specs of Redmi K30 Pro that Xiaomi launched last month. Poco F2 Pro Specifications, Availability and Price Unlike the Poco X2, the phone offers a circular camera at the back and a pop-up selfie camera at the front as opposed to the regular dual-hole punch cutout on the display of Poco X2. Poco F2 Pro comes with a 6.67-inch FHD+ AMOLED display with a 92.7% screen to body ratio. On top of that, the phone has an in-display fingerprint sensor to keep up with...

Windows Subsystem For Linux Is Beta No More, Gets “Full Support” In Windows 10 Fall Creators Update

As we told you earlier, WSL on Windows 10  moved out of beta  in August. It still carries the beta tag in Windows 10 Creators Update. Also, it won’t require people to enable developer

Steps To Enable Speech Recognition On Windows 10

The accuracy of speech recognition increases through use, and the feature adapts itself to a user’s grammar, word usage, speech patterns, and vocabulary.