乌班图 钩子

#!/bin/shgit #判断是否是远端仓库web IS_BARE=$(git rev-parse --is-bare-repository)post if [ -z "$IS_BARE" ]; thenfetch echo >&2 "fatal: post-receive: IS_NOT_BARE"ui exit 1spa fiserver unset GIT_DIRit DeployPath
相关文章
相关标签/搜索