Fake Commit #175896
Replies: 4 comments 1 reply
-
|
You can’t directly change your GitHub join date or “return” your history to 2020, but you can fix the fake commit timestamps in your repository. GitHub records commits based on the date and author information set at the time of creation, so if you created a fake commit with a 2015 date, it will always appear as 2015. To correct this, you can amend the commit date using a command like [git commit --amend --no-edit --date="2020-01-15T12:00:00"] For a single commit, use an interactive rebase [git rebase -i ] to rewrite multiple commits and adjust their dates before pushing again with [git push --force]. Keep in mind that force-pushing rewrites history, so do it only if you’re the only one working on that branch. Your GitHub account’s join date (2020) cannot be altered, but by fixing the commit history, your repository timeline and contribution graph will accurately reflect your actual activity period. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Hi @98flft, This can usually be resolved by simply deleting the "fake" commit and waiting up to 24/48 hours. From what I can see, your profile history has already been fixed to 2020, so you no longer need to worry about this:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I have joined in github in 2020, But I created fake commit
So my github base is in 2015
how can i return in 2020?
Beta Was this translation helpful? Give feedback.
All reactions