sync.sh 322 Bytes
# chmod u+x sync.sh
cp -R dist/* /Users/simonfung/simonfungc/work/workspace/git/vuejs/trimble-admin

cd /Users/simonfung/simonfungc/work/workspace/git/vuejs/trimble-admin

read -p "请输入commit提交的描述: " msg

if [[ $msg == "" ]]; then
    msg="默认提交"
fi
git add -A
git commit -m $msg
git push
git status