Skip to content

Instantly share code, notes, and snippets.

@mawatari
Created July 24, 2013 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mawatari/6069167 to your computer and use it in GitHub Desktop.
Save mawatari/6069167 to your computer and use it in GitHub Desktop.
upstream
# GitHubで当該リポジトリをフォークする
# ローカルにフォークしたリポジトリをクローンする
git clone git@github.com:mawatari/jenkins-flow.git
# フォーク元のリポジトリをリモートする
git remote add upstream git://github.com/swimmystudy/jenkins-flow.git
# 必要に応じてフェッチする
git fetch upstream
# マージ
git checkout master
git merge upstream/master
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment