Skip to content

Instantly share code, notes, and snippets.

@toashd
Created December 17, 2014 10:52
Show Gist options
  • Select an option

  • Save toashd/885c0342e2e19407f243 to your computer and use it in GitHub Desktop.

Select an option

Save toashd/885c0342e2e19407f243 to your computer and use it in GitHub Desktop.
Change git commit date to current
GIT_COMMITTER_DATE="`date`" git commit --amend --date "`date`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment