wiki/.githooks/pre-commit

4 lines
85 B
Bash
Executable file

#!/usr/bin/env bash
tar czf _git.tar.gz --exclude .git/lfs .git
git add _git.tar.gz