烏班圖 鉤子

#!/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
相關文章
相關標籤/搜索