git add ./
if [ -z "$1" ];
then
git commit -m master
else
git commit -m "$1"
fi
git push
git add ./
if [ -z "$1" ];
then
git commit -m master
else
git commit -m "$1"
fi
git push
本文标题:git中 commit和push一起做的shell脚本
本文链接:https://www.haomeiwen.com/subject/jljjxqtx.html
网友评论