-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change committed date value for commits from dedicated date? #607
Comments
Are the other commits whose hashes are changed ones which have a parent (or further back ancestor) which had a commit timestamp after 1726352100? |
no. And that's why I ask you. I see all commits changed and duplicated from my initial project commit which is more than 4 years old. |
Okay, that removes the most likely explanation. There are some others. Does your history have any of these?:
You can probably check all of the above by running An alternative way to check what is happening is to find the earliest commit in your history that has a different hash before and after the rewrite. Then once you've found ${OLD_HASH} and ${NEW_HASH} go and run Anyway, if it is due ot canonicalization of history as it rewrites, then it's fundamental to the tool. If that's the case, your only option to avoid having older history rewrite it is to have git-filter-repo not process those parts of history you don't want it to rewrite. You can do that with the |
I want to do something like this
But when I run it, it changes hashes of commits before 1726352100 too. How to prevent this and change just commits after 1726352100 date?
Also I would like to not delete all remote repositories after changes.
The text was updated successfully, but these errors were encountered: