1 Star 2 Fork 1

多哥喵/GreenHat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
littleGreen.sh 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
多哥喵 提交于 2024-04-01 02:57 . update littleGreen.sh.
#进入脚本的目录
cd `dirname $0`
git pull
#随机生成22 ~(22+19-1)的随机数,这个随机数落在[22,40]区间, $(($RANDOM%N+start)) => N=end+1-start
count=$(($RANDOM%19+22))
echo total\:$count
for((var=0;var<$count;var++))
do
echo var a = $var > index.js
git add .
git commit -m 'Greate'
echo index\:$var
done
git push
echo "*----------------SUCCESS--------------------*"
echo "* *"
echo "* a commit a day *"
echo "* keeps your girlfriend away *"
echo "* *"
echo "*-----------------SUCCESS-------------------*"
#read -t 10 -p "press any continue"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lazza/green-hat.git
git@gitee.com:lazza/green-hat.git
lazza
green-hat
GreenHat
master

搜索帮助