synchronize the original author code script

This commit is contained in:
祝晓东 2018-06-15 01:06:45 +08:00
parent bc824fe956
commit a779d311df

16
sync.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
# 同步更新原作者代码到自己仓库
# git remote add upstream https://github.com/KaiserY/trpl-zh-cn.git
git checkout master
git fetch upstream
git merge upstream/master master
git pull origin master
git push
git checkout turing
git fetch upstream
git merge upstream/master turing
git pull origin turing
git push