Skip to content

Instantly share code, notes, and snippets.

@code-yeongyu
Last active May 31, 2021 06:26
Show Gist options
  • Save code-yeongyu/8f984854e6f1f160043c6ff5e8145fdc to your computer and use it in GitHub Desktop.
Save code-yeongyu/8f984854e6f1f160043c6ff5e8145fdc to your computer and use it in GitHub Desktop.
Sync the GIT_COMMITTER_DATE as the value of GIT_AUTHOR_DATE
from os import system
system("""FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' -f"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment