当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 23

LKG / lnmp
暂停

forked from Hailiang / lnmp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
git_push.sh 571 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hailiang 提交于 2017-07-11 14:23 . . the eighth modify git_push
#!/bin/bash
#Hehl 20170710
#git push origin master with shell
warn="Usage: $0 { [ file | dir ] [commit notes] }"
[[ -z $1 || -z $2 ]] && echo -e "\033[33m===================================================================\n${warn}\n===================================================================\n\033[0m"
echo "You typed $2"
#git add $1 && git commit -m "$2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18}" && git push origin master && echo "push success"
git add $1 && git commit -m "$*" && git push origin master && echo "push success"
Shell
1
https://gitee.com/lkg/lnmp.git
git@gitee.com:lkg/lnmp.git
lkg
lnmp
lnmp
master

搜索帮助