Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Created April 13, 2017 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpabloaj/47e2e68246d355e930333c1a1374c0c8 to your computer and use it in GitHub Desktop.
Save juanpabloaj/47e2e68246d355e930333c1a1374c0c8 to your computer and use it in GitHub Desktop.
Change date of git commit
tempDate=$(date -R --date='12 hours ago')
GIT_COMMITTER_DATE="$tempDate" git ci --date "$tempDate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment