dotfiles/dot_scripts/configure_git_hooks.sh

7 lines
178 B
Bash
Raw Normal View History

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