echo $PWD message=$1 content='.' if [ ! -n "$1" ] ;then message=`date` message=$message' 推送到服务器' echo $message else echo "$1" fi git add . git commit -m "$message " git push
echo $PWD message=$1 content='.' if [ ! -n "$1" ] ;then message=`date` message=$message' 推送到服务器' echo $message else echo "$1" fi git add . git commit -m "$message " git push