Skip to content

Instantly share code, notes, and snippets.

@rimiti
Last active July 16, 2018 08:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rimiti/8edd452882a157f22ee5277a06e32ccc to your computer and use it in GitHub Desktop.
Save rimiti/8edd452882a157f22ee5277a06e32ccc to your computer and use it in GitHub Desktop.
How to change lastest commit date

To change last commit date

GIT_COMMITTER_DATE="`date -R -v-3d`" git commit --amend --no-edit --date "`date -R -v-3d`" && git push
@parvezk
Copy link

parvezk commented Feb 2, 2018

Thank you!

@rimiti
Copy link
Author

rimiti commented Jul 16, 2018

@parvezk you're welcome 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment