anuraghazra / anuraghazra/github-readme-stats

Consider only counting unique commits

Aperta
#2,655 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
79.8k
Fork
37.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Describe the bug

I maintain a repository https://github.com/jupyter/docker-stacks/, which has 848 my commits.
Unfortunately, some users, instead of forking this repository, create their own copy.
This makes `github-readme-stats` count commits in this repos as well.

https://github-readme-stats-eight-theta.vercel.app/api?username=mathbunnyru&show_icons=true&theme=solarized-light&include_all_commits=true

This chart shows 68.6k commits, which would be awesome, but it's approximately 40x-80x larger than the correct number.
If I search my commits I see all these duplicates: https://github.com/search?o=desc&s=committer-date&type=Commits&q=author%3Amathbunnyru&p=94

### Expected behaviour

I expect `github-readme-stats` to parse the commits and only list the number of unique SHAs.
This way it would show the real number of commits.

### Screenshots / Live demo link

Screenshot 2023-04-27 at 15 33 08
Screenshot 2023-04-27 at 15 33 22

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.