if test $1 = ‘pull’
    then
    echo ‘代码更新:’ $(date ‘+%Y-%m-%d %H:%M:%S’)
    cd /www/wwwroot/api.861lll.com
    git fetch —all
    git reset —hard origin/master
    git pull origin master
    echo “”
    fi