1 Star 0 Fork 19

Kevin_Yan/SPMS-Web

forked from S-PMS/SPMS-Web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commit.sh 652 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hamm 提交于 2023-11-06 20:08 . Initial commit
#!/bin/bash
echo "\033[32m \n"
echo "===================================================="
echo " Git Commit Message Helper By Hamm.cn "
echo "====================================================\n\n"
type="fix"
while read -p "Module or scope tag (Default: BUG):" scope; do
if [ -n "$scope" ]; then
break
else
scope="BUG"
break
fi
done
read -p "Now,tell me something you've done: " desc
if [ ! -n "$desc" ]; then
desc="修复了一些已知的BUG"
fi
git add -A && git commit -S -m $type"($scope): "$desc && git pull && git push
echo "\033[32m"
echo "\n\033[0m Ok, thanks for using and bye!\n"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/kevin_yan/SPMS-Web.git
git@gitee.com:kevin_yan/SPMS-Web.git
kevin_yan
SPMS-Web
SPMS-Web
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385