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
时间: 2024-10-10 10:43:43
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