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?
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…
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With