sync.sh 324 Bytes
# chmod u+x sync.sh
cp -R dist/* /Users/simonfung/simonfungc/work/workspace/git/vuejs/baohui-jewelry

cd /Users/simonfung/simonfungc/work/workspace/git/vuejs/baohui-jewelry

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

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