Skip to content

Instantly share code, notes, and snippets.

@yangadam
Created April 15, 2018 13:38
Show Gist options
  • Save yangadam/6ba22e334b9769694954cba39d6098c0 to your computer and use it in GitHub Desktop.
Save yangadam/6ba22e334b9769694954cba39d6098c0 to your computer and use it in GitHub Desktop.
Change commit date to author date
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment