From 494087fd096eeba93c4f30ed8b2df5e30c4ec6a8 Mon Sep 17 00:00:00 2001 From: luke Date: Sun, 23 Jun 2013 23:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0git=20fork=20workflow?= =?UTF-8?q?=E6=96=87=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/2013/2013-06-23-git-fork-workflow.md | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 _posts/2013/2013-06-23-git-fork-workflow.md diff --git a/_posts/2013/2013-06-23-git-fork-workflow.md b/_posts/2013/2013-06-23-git-fork-workflow.md new file mode 100644 index 0000000..1e48c66 --- /dev/null +++ b/_posts/2013/2013-06-23-git-fork-workflow.md @@ -0,0 +1,24 @@ +--- +layout: post +title: Git fork workflow +categories: +- Programming +tags: +- git +--- + +1.Fork +2.Add upstream repo + + git clone + cd + git remote add upstream + + + +3.Fetch upsteam and merge + + git checkout master + git fetch upstream + git merge upstream/master + git push origin master \ No newline at end of file