#!/bin/bash
msg=$1
if [ ! $msg ]
then
echo "🚫 请输入更新内容"
else
git pull
git add .
git commit -m "$msg"
git push
fi
git提交shell脚本
最新推荐文章于 2024-05-06 19:48:48 发布
#!/bin/bash
msg=$1
if [ ! $msg ]
then
echo "🚫 请输入更新内容"
else
git pull
git add .
git commit -m "$msg"
git push
fi