5

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

Community
  • 1
  • 1
Pankajkumar
  • 63
  • 1
  • 5

2 Answers2

5

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.

joran
  • 2,815
  • 16
  • 18
  • 2
    After a lot of troubleshooting attempts, I realized that I had changed my GitHub email id to enable student benefits but hadn't changed my git tool to reflect the same. Thanks. – Pankajkumar Jul 01 '19 at 13:50
1

Go to Settings -> Contributions & Activity

check: Include private contributions on my profile(option)
Shaiful Islam
  • 335
  • 2
  • 12