Commits deleted but showing in activity and calendar contributions #54436
Replies: 3 comments 10 replies
-
If you have deleted the last two commits from a repository using It is also possible that the contribution graph is showing activity from a different branch than the one you were working on. If you have multiple branches in your repository, make sure that you have deleted the commits from all branches by checking out each branch and repeating the If you have confirmed that the commits have been deleted from all branches and the contribution graph still shows the green squares for those days, you can try refreshing the page or clearing your browser cache to see if the changes are reflected. If the contribution graph still shows the green squares for those days after waiting for some time and refreshing the page, you can try reaching out to GitHub support for further assistance. |
Beta Was this translation helpful? Give feedback.
-
If you've deleted commits in GitHub, but they still appear in your activity and calendar contributions, it's possible that the data hasn't been fully updated or synced yet. GitHub's activity feed and calendar contributions may take some time to reflect changes, especially if you've made recent modifications. |
Beta Was this translation helpful? Give feedback.
-
I contacted the GitHub support staff, and they helped me find the solution. According to the GitHub support, force pushes can occasionally cause issues with the contributions graph, which is why the contributions continued to appear even after the commits were deleted. Therefore, if anyone runs into this kind of issue, please contact GitHub support; they will assist you in removing the contributions that are visible in the activity and calendar even after deleting the commits. Thank you to @DUB1401 as well for confirming that GitHub support was helpful. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi there! I've deleted the last 2 commits from a repo using git reset --hard and updated it with force push, but the commits are still showing in the calendar contribution green square even in activity. In activity, it's showing I've made two commits today, but when I click on them, nothing shows because, of course, I've deleted them. I was just wondering if this is normal because inside the repo it also doesn't show these commits because now the HEAD is at a commit I made two days ago. So can anyone help me know if it shows like this, or should I contact support? If it shows like this, then how can I remove them from contributions?
Also, for information purposes, I just want you to know that I'm the only contributor to the repository.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions