LoginSignup
35
32

More than 5 years have passed since last update.

GitHubでFork元の更新を取り込む

Posted at

Github上でForkしたリポジトリをローカルにclone済みの前提です。

$ git remote add upstream https://github.com/XXXXXXXX/XXXXXXXX.git
$ git fetch upstream
$ git checkout 対象ローカルブランチ
$ git merge --ff upstream/対象リモートブランチ
$ git push origin 対象ローカルブランチ
35
32
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
35
32