git-stats/scripts/init-git-post-commit

12 lines
210 B
Plaintext
Raw Normal View History

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