{"repo":"EMPRI-DEVOPS/git-privacy","free":true,"listed":false,"github":"https://github.com/EMPRI-DEVOPS/git-privacy","clone":"git clone https://github.com/EMPRI-DEVOPS/git-privacy.git","description":"Redact Git author and committer dates to keep committing behaviour more private.","language":"Python","stars":79,"topics":["git","privacy","developer-tools","timestamps"],"license":"BSD-2-Clause","category":"dev-tools","readme_excerpt":"git-privacy : Keep your coding hours private git-privacy redacts author and committer dates to keep your coding hours more private. You can choose the level of redaction: only remove minutes and seconds from your dates or even hide day or month. The original dates are encrypted and stored in the commit message in case you might need them. Installation git-privacy can be easily installed via pip: $ pip3 install gitprivacy Note: git-privacy requires Python version 3.9 or later and Git version 2.22.0 or later. Getting Started You can either setup git-privacy separately for selected Git repositories or globally so that each new Git repo automatically uses git-privacy from the beginning. To setup git-privacy for a single Git repository do the following: 1. Initialise git-privacy , which sets the necessary hooks. $ git-privacy init 2. Set a redaction pattern from the following options: - M: Sets the month to January - d: Sets the day to the first day of the month - h: Sets the hour to midnight - m: Sets the minute to zero (full hour) - s: Sets the seconds to zero (full minute) $ git config privacy.pattern For example: $ git config privacy.pattern hms 3. Set an encryption key if you want to preserve the original timestamps in encrypted form in the commit message. If no key is set, only the reduced timestamp will remain. $ git-privacy keys --init For more information about managing encryption keys see git-privacy keys -h . 4. Use Git as normal ;-) To setup git-privacy globally for al","default_branch":null,"files":null,"tree":[],"storefront":"/r/EMPRI-DEVOPS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EMPRI-DEVOPS/git-privacy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}