Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I made 3-4 commits on a single day to my repo using the Mac client for Github but the contributions section on my profile page doesn't update itself with changes in varying shades of green.

Why does this happen?

share|improve this question

migrated from superuser.com Feb 28 '13 at 3:50

This question came from our site for computer enthusiasts and power users.

    
Did you push your commits to GitHub? Do you see your commits in the 'Contribution Activity' below the contributions (green squares)? –  Attila O. Mar 1 '13 at 1:33
    
If you did the commits a week ago but pushed them recently it may be that they do not show up in the Contribution Activity because the Period is set to 1 Week. Try changing it to something else. –  N.N. Mar 1 '13 at 10:34
    
Commit history is based on when the commit was made, not when it was pushed up to Github –  davblayn Apr 16 '13 at 11:28
    
Are you the owner of the repo, or is it a fork? –  Eight Days of Malaise May 22 '13 at 22:00

3 Answers 3

You need to click on the Push option in GitHub for Mac so that the commits gets live on GitHub. Also, it might take a short little while before the contributions page gets updated to reflect your recent pushes.

share|improve this answer

Some repos only show 'Contribution Activity' for commits that have been merged into master, (although this may not apply in your case if you own the repo and are the only commiter).

If the commits are pushed but still not showing up in 'Contribution activity' on the days they were committed, then this may be because you made a pull request but your changes haven't been merged yet.

share|improve this answer

There are several possibilities:

  • You have not pushed your commits up to Github. Unlike centralized version control systems, committing it git is done locally. When you have made commit(s) locally and want to synchronize your Github project page, you need to run 'git push' to send the commits upstream.

  • Your commits were not on the master branch of a project. Typically only commits that are merged into master are counted. Feature branches won't count towards the total until they are merged.

  • Your repository is a fork. In this case only commits that have been contributed upstream and merged into the master branch are counted.

  • Your commit was made with an email address other than ones you have told Github about.

  • You haven't waited long enough. The graph is not updated instantly.

See Github's help section Why are my contributions not showing up on my profile? for more tips.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.