Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Update git author-date and committer-date to current time with 1 second delay between commits
FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$(date)"; export GIT_AUTHOR_DATE="$(date)"; sleep 1' master..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment