git中 commit和push一起做的shell脚本

2018-11-05  本文已影响1人  ElonYanJ

git add ./
if [ -z "$1" ];
then
    git commit -m master
else
    git commit -m "$1"
fi
git push

上一篇 下一篇

猜你喜欢

热点阅读