From a779d311df8f1a564055df191163b5d773a215a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9D=E6=99=93=E4=B8=9C?= Date: Fri, 15 Jun 2018 01:06:45 +0800 Subject: [PATCH] synchronize the original author code script --- sync.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 sync.sh 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