rixx / git-backdate

Backdate a commit or range of commit to a date or range of dates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this work for changing Contribution graph?

jamesharrisivi opened this issue · comments

When I try git backdate origin/main "10 days ago..today" --business-hours it only has the commit as 2 days ago, and it doesn't appear on the contribution graph?

I assume you're talking about the grid graph on GitHub's profile pages.

I suspect GitHub caches commits it has seen before / does not update the graph in real time for repos it knows already. This tool does not serve to interface with GitHub directly, it changes your local git repository. git log --pretty=fuller can show you a commit with both its logged timestamps. If you force-push those commits to GitHub, it should pick them up, but like I said: this is a git tool, not a GitHub tool.