Reset commits are counted as contribution (in terms of commit count)

Viewed 269

I created a new repo and made a number of commits and pushes.

In the middle of commiting/pushing I realized some commits weren't needed so I "deleted" them both locally and in remote too:

git rebase -i
git push origin +master

After doing this a couple of time, my repo now has 8 commits. This doesn't count those "deleted" commits. However, on my profile page the number of commits for this repo is more, say 12. I realize it counts those "deleted" commit in this count, but how can I make sure it shows only the 8 commits here too?

Note: my question looks like this one but it didn't answer my question.

0 Answers
Related