Skip to content

Instantly share code, notes, and snippets.

@hfreire
Created January 19, 2019 11:08
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 hfreire/41508eef88d4776f232fac7dd29700ff to your computer and use it in GitHub Desktop.
Save hfreire/41508eef88d4776f232fac7dd29700ff to your computer and use it in GitHub Desktop.
Do a git commit 12 hours ago
GIT_AUTHOR_DATE=$(date -v '-12H' '+%a %h %d %H:%M:%S %Y %z') \
GIT_COMMITTER_DATE=$(date -v '-12H' '+%a %h %d %H:%M:%S %Y %z') \
git commit -am "feat: better late than ever"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment