Skip to content

Instantly share code, notes, and snippets.

@d-kuro
Last active July 18, 2019 05:10
Show Gist options
  • Save d-kuro/dcb43961c21a546e47f5f45361c03701 to your computer and use it in GitHub Desktop.
Save d-kuro/dcb43961c21a546e47f5f45361c03701 to your computer and use it in GitHub Desktop.
GitHub で Fork 元の更新を取り込む
git remote add upstream https://github.com/foo/bar.git
git fetch upstream
git checkout master
git merge --ff upstream/master
git push origin master
@d-kuro
Copy link
Author

d-kuro commented Jul 18, 2019

git remote rm upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment