Created
September 7, 2010 19:24
-
-
Save bfoz/568898 to your computer and use it in GitHub Desktop.
Force GIT_COMMITTER_DATE = GIT_AUTHOR_DATE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' |
Since git 1.6.3 git rebase has
--committer-date-is-author-date
for this purpose.
git rebase --committer-date-is-author-date
Use
git rebase HEAD~x --committer-date-is-author-date
to apply this tox
commits available in the HEAD.
Thanks for finding that!
Since git 1.6.3
git rebase
has--committer-date-is-author-date
for this purpose.
git rebase --committer-date-is-author-date
Use
git rebase HEAD~x --committer-date-is-author-date
to apply this tox
commits available in the HEAD.
Exactly what I needed Max Pro!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since git 1.6.3
git rebase
has--committer-date-is-author-date
for this purpose.Use
git rebase HEAD~x --committer-date-is-author-date
to apply this tox
commits available in the HEAD.