caddy-retired/scripts/pre-commit

6 lines
125 B
Bash

#!/bin/sh
echo "encrypting files and adding to commit"
git secret hide
git add .gitsecret/paths/mapping.cfg
git add *.secret