diff options
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,12 @@ Annotated [Git tag objects](https://git-scm.com/docs/user-manual.html#tag-object There is another timestamp which comes from the optional GnuPG signature on a commit or annotated tag. It is controlled by GnuPG. +### ⚠ Warning ⚠ + +Before you follow any of the steps below to obfuscate Git timestamps, be aware that it can cause certain features of Git to break in unexpected ways. The author takes no responsibility for any breakage that occurs. + +The author is not a lawyer and this is not legal advice, but obfuscating Git's timestamps may also result in more difficulty refuting copyright claims. The author takes no responsibility for this either. + ### Obfuscating Timestamps for Commits and Annotated Tags Git can't remove timestamps altogether, but the `GIT_AUTHOR_DATE` and `GIT_COMMITTER_DATE` environment variables can be set to any arbitrary date. Preferably, use dates from before Git was invented to clearly signal the timestamps are forged: |