git-stats/scripts/init-git-post-commit
2015-02-10 10:19:51 +02:00

12 lines
210 B
Bash

#!/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