#!/bin/bash echo "+-------------------------------------------------------------------+" echo "| 你正在使用虎头代码发布工具,请谨慎选择 |" echo "+-------------------------------------------------------------------+" echo "准备发布了?" git push ssh root@47.111.94.27 "cd /data/mf-test/www/liantiao/server; sh sh/pull.sh ; exit" echo 发布完成