Added the script that will init the git hooks

This commit is contained in:
Ionică Bizău 2015-02-10 10:19:51 +02:00
parent 604db780ef
commit e394b2ec99
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
git config --global init.templatedir '~/.git-templates'
mkdir -p ~/.git-templates/hooks
cat << EOF > ~/.bat/logo.svg
#!/bin/sh
# Copy last commit hash to clipboard on commit
echo 'POST COMMIT'
EOF