This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Time-stamp: <Tue 2021-08-31 14:26 svarrette> | |
################################################################################ | |
# Pre-commit hook to avoid accidentally adding unencrypted files with | |
# [git-crypt](https://www.agwa.name/projects/git-crypt/) | |
# Fix to [Issue #45](https://github.com/AGWA/git-crypt/issues/45) | |
# | |
# Usage: | |
# $ cd /path/to/repository | |
# $ git-crypt init |