update_git_pre_commit.sh 123 Bytes 一键复制 编辑 原始数据 按行查看 历史 guoc 提交于 10年前 . Add script to create git hook pre-commit automatically. 1234567 #!/bin/bash if [ ! -x .git/hooks/pre-commit ]; then cp -f ./pre-commit .git/hooks/ chmod +x .git/hooks/pre-co...