git push review脚本实现
来源:互联网 发布:unity3d房子模型 编辑:程序博客网 时间:2024/05/16 13:57
#!/bin/sh
#check the git config file
if grep -q '"review"' .git/config;
then
echo "recovery git config file......"
cp .git/.config-bk .git/config
else
cp .git/config .git/.config-bk
fi
#modify the git config file,add review
echo "[remote \"review\"]
push = HEAD:refs/for/master" >> .git/config
grep "url = " .git/.config-bk >> .git/config
echo Config Done!
#check the git config file
if grep -q '"review"' .git/config;
then
echo "recovery git config file......"
cp .git/.config-bk .git/config
else
cp .git/config .git/.config-bk
fi
#modify the git config file,add review
echo "[remote \"review\"]
push = HEAD:refs/for/master" >> .git/config
grep "url = " .git/.config-bk >> .git/config
echo Config Done!
阅读全文
0 0
- git push review脚本实现
- git push review
- 使用 code review 时 git push 失败
- git review
- git review
- git review
- openstack git git-review
- mac git+shell实现快速提交push
- 两则快速git pull push的脚本
- git push
- git push
- git push
- git# push
- git push
- git push
- git push
- git-review 1.23
- git review (二)
- 快手“进城”难,只靠直播创收能顺利IPO吗?
- 苹果第四财季净利107.14亿美元;美团关闭共享充电宝业务;支付宝上线iPhone X碎屏险丨价值早报
- 中国互联网第一大股诞生,360
- nodejs实战学习-遇到的版本不一问题
- 六、super和this的区别
- git push review脚本实现
- JavaSE review -- final 、static
- list自学链接
- poj3126 Prime Path(素数路径)
- C++11 之 override
- unicode和ucs的区别
- 为nginx创建一个不登陆的用户
- 一个来自北欧的神器,天干物燥,你也能享受“湿”与远方丨钛空舱
- 一个屌丝程序猿的人生(七十五)