Pankajkumar
Pankajkumar

Reputation: 73

GitHub is not showing contributions to private repos enabled for inclusion on profile

I have been using git through bash commands to push my commits to some of my private repositories. I realized that even after enabling "Include private contributions on my profile" the contributions are not being updated. However, when I add a new file inside the same repositories using github.com, the commits are somehow counted.

Can someone help me to have all commits being acknowledged as contributions.

I use the following commands on bash:

git clone https://github.com/my_username/repo_name.git

git pull origin master

git add file_name

git commit -m "message"

git push origin master

Upvotes: 6

Views: 5536

Answers (3)

Jamal Naser Habibi
Jamal Naser Habibi

Reputation: 1

Private repository contributions are not count on github graph when another user is viewing your profile, but whenever you change the visibility of your repository to public, it reveals all and display to the github graph

Upvotes: 0

Shaiful Islam
Shaiful Islam

Reputation: 442

Go to Settings -> Contributions & Activity

check: Include private contributions on my profile(option)

Upvotes: 2

joran
joran

Reputation: 2883

You may check that the email used when committing is included in the email setting at Github.

This article describes in more details the conditions for contribution.

This may also be relevant.

Upvotes: 6

Related Questions