Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeslopcru/git-score
script to compute some "scores" for committers in a git repo.
https://github.com/jeslopcru/git-score
git php phpunit symfony-console
Last synced: about 1 month ago
JSON representation
script to compute some "scores" for committers in a git repo.
- Host: GitHub
- URL: https://github.com/jeslopcru/git-score
- Owner: jeslopcru
- Created: 2017-05-20T11:47:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-29T07:29:32.000Z (almost 2 years ago)
- Last Synced: 2024-11-16T17:46:41.029Z (3 months ago)
- Topics: git, php, phpunit, symfony-console
- Language: PHP
- Size: 196 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-score
*git-score* is a script to compute some "scores" for committers in a git repo. Use it for fun or to brag about your involvement in the development of a project.
This script is inspired by [git-score](https://github.com/msparks/git-score), a python script
## Usage
![gif](http://imgur.com/gxA3Ezb.gif)
In a repository, type:
```sh
$ git-score
```This will output something like the following:
```
+------------------------------+----------------------------------+---------+-------+-------+------+-------+
| name | email | commits | delta | (+) | (-) | files |
+------------------------------+----------------------------------+---------+-------+-------+------+-------+
| Antonio Laguna | [email protected] | 125 | 4251 | 11871 | 7620 | 93 |
| José Luis Antúnez | [email protected] | 170 | 20817 | 26751 | 5934 | 51 |
| Luis | [email protected] | 15 | 226 | 1037 | 811 | 19 |
| Jeronimo López | [email protected] | 1 | 0 | 1 | 1 | 2 |
| May Kittens Devour Your Soul | [email protected] | 2 | 1 | 2 | 1 | 3 |
| Felipe Valverde | [email protected] | 3 | 15 | 60 | 45 | 3 |
| ramon183 | [email protected] | 1 | 39 | 39 | 0 | 2 |
| Michael | [email protected] | 1 | 0 | 5 | 5 | 4 |
| martijn | [email protected] | 1 | 0 | 1 | 1 | 2 |
+------------------------------+----------------------------------+---------+-------+-------+------+-------+
```## Installation
To install git-score, install Composer and issue the following command:
```sh
$ composer global require jeslopcru/git-score
```Then make sure you have the global Composer binaries directory in your PATH. This directory is platform-dependent, see Composer documentation for details. Example for some Unix systems:
```sh
$ export PATH="$PATH:$HOME/.composer/vendor/bin"
```