4 Star 1 Fork 1

Kele-Bingtang / glyxybxxtmobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
push.sh 357 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kele-Bingtang 提交于 2021-12-24 00:34 . 更新内容
#!/bin/bash
GITEE_REPO=git@gitee.com:kele-bingtang/glyxybxxtmobile.git
comment=$1
if [ ! $comment ]; then
comment="更新内容"
fi
git add -A
git commit -m "${comment}" # $1 是启动该脚本传来的参数,如 sh push.sh hello,其中 hello 就会插入到 $1 处,如果想两个参数,则加 $2
git push $GITEE_REPO
# exec ./build.sh
1
https://gitee.com/kele-bingtang/glyxybxxtmobile.git
git@gitee.com:kele-bingtang/glyxybxxtmobile.git
kele-bingtang
glyxybxxtmobile
glyxybxxtmobile
main

搜索帮助