Skip to content

Instantly share code, notes, and snippets.

@higemaru
Last active April 19, 2021 11:25
Show Gist options
  • Save higemaru/5863873 to your computer and use it in GitHub Desktop.
Save higemaru/5863873 to your computer and use it in GitHub Desktop.
GIT_COMMITTER_DATE / GIT_AUTHOR_DATE
export GIT_COMMITTER_DATE="Fri Jun 21 20:26:41 2013 +0900"
git commit --amend --date "Fri Jun 21 20:26:41 2013 +0900" -m 'fix committer_date and author_date'
unset GIT_COMMITTER_DATE
export GIT_COMMITTER_DATE="2013-08-01 23:01:01 +0900"
git commit --amend --date "2013-08-01 23:01:01 +0900" -m 'fix committer_date and author_date'
unset GIT_COMMITTER_DATE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment