Skip to content

Wrong number of contributions after pushing to gh-pages #22865

Answered by jsulpis
jsulpis asked this question in General
Discussion options

You must be logged in to vote

For your information, I found this page in GitHub Help, which explains the difference between author date and commit date:

"In Git, the author date is when someone first creates a commit with git commit. The commit date is identical to the author date unless someone changes the commit date by using git commit --amend, a force push, a rebase, or other Git commands.

On your profile page, the author date is used to calculate when a commit was made. Whereas, in a repository, the commit date is used to calculate when a commit was made in the repository."

So after I pushed a single commit to the gh-pages branch, the author dates of the commits I had overridden were still somewhere and thus coun…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant