Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mckael/gh_user_contributions
Display the number of "contributions" of a Github user
https://github.com/mckael/gh_user_contributions
github shell statistics
Last synced: about 1 month ago
JSON representation
Display the number of "contributions" of a Github user
- Host: GitHub
- URL: https://github.com/mckael/gh_user_contributions
- Owner: McKael
- Created: 2018-03-22T17:35:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-30T20:11:13.000Z (over 6 years ago)
- Last Synced: 2024-10-29T13:56:03.000Z (3 months ago)
- Topics: github, shell, statistics
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh_user_contributions
This repository contains a small shell script (bash/zsh) that can be used to
display the number of "contributions" of a Github user.(Not that contribution numbers have a real value, see for example
[this Github page](https://help.github.com/articles/viewing-contributions-on-your-profile/).)A few usage examples:
```
## Get Kelsey Hightower's contribution statistics
% ./gh_user_contributions.sh kelseyhightower
* 2018-03-22: 1375
* 2017-03-22: 1140
* 2016-03-22: 742
* 2015-03-22: 941
* 2014-03-22: 320
* 2013-03-22: 45
* 2012-03-22: 32
* 2011-03-22: 0
Total contributions:
4595## Get only the last 2 years
% ./gh_user_contributions.sh kelseyhightower 2
* 2018-03-22: 1375
* 2017-03-22: 1140
Total contributions:
2515## Get only the total result by redirecting stderr
% ./gh_user_contributions.sh torvalds 2>/dev/null
24# (Yeah, he's new to git...)
```