Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub makes my green squares less green the more I commit. Why?

Tags:

github

Everyone knows that the more you commit to github in a single day, the darker green your square is on your profile.

But the more you commit it seems that GitHub retroactively goes back and lightens your dark green squares.

Does anyone know the formula for how GitHub does this?

Bonus question: One of the most active people on GitHub had over 2000 commits on a single day. Any guesses on what was going on that day? Scripting? Hacking? Single letter commits?

like image 509
Tony DiNitto Avatar asked Apr 07 '15 21:04

Tony DiNitto


People also ask

What is green square on GitHub?

Earning green squares on your contribution graph means celebrating the work you do in open source and public projects. Starting today, you can also celebrate the work you do in…

Do commits count as contributions?

Whenever you commit to a project's default branch or the gh-pages branch, open an issue, or propose a Pull Request, we'll count that as a contribution. Repositories are sorted by your recent impact. A commit today is worth more than a commit last week.

Why are my commits not showing up on GitHub activity?

Your local Git commit email isn't connected to your account Commits must be made with an email address that is connected to your account on GitHub.com, or the GitHub-provided noreply email address provided to you in your email settings, in order to appear on your contributions graph.


1 Answers

There's several examples of people implementing their own activity graph, one would assume GitHub itself uses a similar algorithm.

In terms of the commit volumes: remember that committing to GitHub, like most things, can be scripted - for either nefarious, or awesome purposes.

like image 165
georgevanburgh Avatar answered Oct 11 '22 08:10

georgevanburgh