[GH-ISSUE #58] Committer date should be same as Author date. #24

Open
opened 2026-03-02 02:53:05 +03:00 by kerem · 2 comments
Owner

Originally created by @umairvatao on GitHub (Jun 11, 2025).
Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/58

Describe the bug
Github is using committer date instead of author date to create profile history.

To Reproduce
Simply follow the readme and see.

Expected behavior
All commits go under today in the history.

Temporary Fix
This command will fix the issue:
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'
git push -f

Additional context
Was using mac

Originally created by @umairvatao on GitHub (Jun 11, 2025). Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/58 **Describe the bug** Github is using committer date instead of author date to create profile history. **To Reproduce** Simply follow the readme and see. **Expected behavior** All commits go under today in the history. **Temporary Fix** This command will fix the issue: git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' git push -f **Additional context** Was using mac
Author
Owner

@artiebits commented on GitHub (Jun 26, 2025):

Hi @umairvatao, thanks for reporting the issue.

It doesn’t affect the activity graph, does it? I tried generating commits, and it worked fine.

Image
<!-- gh-comment-id:3007809787 --> @artiebits commented on GitHub (Jun 26, 2025): Hi @umairvatao, thanks for reporting the issue. It doesn’t affect the activity graph, does it? I tried generating commits, and it worked fine. <img width="799" alt="Image" src="https://github.com/user-attachments/assets/9bb58e6a-6b63-42e3-b04d-49e519ada0a4" />
Author
Owner

@umairvatao commented on GitHub (Aug 30, 2025):

Sorry, I missed this... actually it did caused issue for me. When i was playing with your script and pushed the project to github, it didn't create history. It was only showing me single dot on the date when i actually pushed.

Thus I searched the issue and found this.

Not sure if OS played a role here.

I did however pushed a fix as PR if you like.

<!-- gh-comment-id:3239228097 --> @umairvatao commented on GitHub (Aug 30, 2025): Sorry, I missed this... actually it did caused issue for me. When i was playing with your script and pushed the project to github, it didn't create history. It was only showing me single dot on the date when i actually pushed. Thus I searched the issue and found this. Not sure if OS played a role here. I did however pushed a fix as PR if you like.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-git-history#24
No description provided.