Skip to content

Instantly share code, notes, and snippets.

@GaPhil
Created June 16, 2020 14:33
Show Gist options
  • Save GaPhil/5852108e03f3dea626b18e89ce409647 to your computer and use it in GitHub Desktop.
Save GaPhil/5852108e03f3dea626b18e89ce409647 to your computer and use it in GitHub Desktop.
privacy-preserving-git-commit
# Commits are made at the same time in the same time zone.
# Date: Tue Jun 16 23:59:59 2020 +0000.
alias gitco="GIT_AUTHOR_DATE='$(TZ=":UTC" date -v 23H -v 59M -v 59S)'\
GIT_COMITTER_DATE='$(TZ=":UTC" date -v 23H -v 59M -v 59S)'\
git commit --date '$(TZ=":UTC" date -v 23H -v 59M -v 59S)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment