2 Star 9 Fork 3

King/springboot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
id_maker
interview/java
jpa
message_queue
mongodb
mybatis
mybatis_plus
mybatis_xml
open_api
oss
other
security
security_customize
.gitignore
LICENSE
README.md
push.sh
克隆/下载
push.sh 826 Bytes
一键复制 编辑 原始数据 按行查看 历史
KingJin-web 提交于 3年前 . 2022-07-26 13:38:46
#! /bin/bash
# shellcheck disable=SC2164
cd H:/jetbrains/java/springboot
echo "----------本地库状态----------"
git status
echo "----------本地库状态----------"
while :
do
read -r -p "是否继续提交? [Y/N] " input
case $input in
[yY][eE][sS]|[yY])
echo "----------继续提交----------"
read -r -p "请输入提交信息: " commit_msg
# 判断是否输入提交信息
if [ -z "$commit_msg" ]; then
echo "----------提交信息为空----------"
commit_msg=$(date "+%Y-%m-%d %H:%M:%S")
fi
git add .
git commit -m "${commit_msg}"
git push -u origin "master"
echo "----------提交成功----------"
;;
[nN][oO]|[nN])
echo "----------中断提交----------"
sleep 1
exit 1
;;
*)
echo "输入错误,请重新输入"
continue
;;
esac
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/KingJin-web/springboot.git
git@gitee.com:KingJin-web/springboot.git
KingJin-web
springboot
springboot
master

搜索帮助