4 lines
192 B
Bash
Executable file
4 lines
192 B
Bash
Executable file
#!/bin/sh -ex
|
|
# Configure git prepare-commit-msg hook that prefixes common path of changed files
|
|
git config core.hooksPath .git/hooks
|
|
ln -st .git/hooks $XDG_CONFIG_HOME/git/prepare-commit-msg
|