Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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