dotfiles/dot_scripts/configure_git_hooks.sh
2020-07-14 10:37:24 +02:00

7 lines
184 B
Bash
Executable File

#!/usr/bin/env bash
# Copy pre-commit hooks
cd "$HOME/Code/dotfiles" || exit
git config --global init.templateDir ~/.git-template
pre-commit init-templatedir ~/.git-template
copyhooks