https://github.com/fionn/git-nowhere
Git commit without leaking timezone information
https://github.com/fionn/git-nowhere
git timezone
Last synced: about 1 month ago
JSON representation
Git commit without leaking timezone information
- Host: GitHub
- URL: https://github.com/fionn/git-nowhere
- Owner: fionn
- Created: 2018-01-15T18:06:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-03T13:13:11.000Z (over 2 years ago)
- Last Synced: 2026-03-29T21:04:34.788Z (3 months ago)
- Topics: git, timezone
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Git Nowhere
===========
Commit like you're in Burkina Faso, Gambia, Ghana, Greenland, Guinea, Guinea-Bissau, Iceland, Ireland, Ivory Coast, Liberia, Mali, Mauritania, Morocco, São Tomé and Príncipe, Senegal, Sierra Leone, Togo, the United Kingdom or part of Antarctica.
Git leaks timezone information via `AuthorDate` and `CommitDate`, which could reveal your location.
Link `post-commit` to `$GIT_DIR/hooks/`. This will change the timezone attached to the commit, putting you in UTC±0000.
Inspired by [gitdate](https://github.com/isislovecruft/scripts/blob/master/gitdate).