diff --git a/sync.sh b/sync.sh new file mode 100755 index 0000000..18554a5 --- /dev/null +++ b/sync.sh @@ -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