1 Star 0 Fork 28

中华田园人/Rufus

forked from Gitee 极速下载/Rufus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
_set_git_hooks.sh 405 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# Sets the git hooks on a new git development system
if [ -e ".git/hooks/pre-commit" ]; then
echo 'pre-commit git hook is already set, aborting.'
exit
fi
echo 'Creating pre-commit git hook...'
echo '#!/bin/sh' > .git/hooks/pre-commit
echo 'if [ -x ./_pre-commit.sh ]; then' >> .git/hooks/pre-commit
echo ' . ./_pre-commit.sh' >> .git/hooks/pre-commit
echo 'fi' >> .git/hooks/pre-commit
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/Chinese_pastoral_person/Rufus.git
git@gitee.com:Chinese_pastoral_person/Rufus.git
Chinese_pastoral_person
Rufus
Rufus
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385