LoginSignup
3
2

More than 5 years have passed since last update.

GitHubやBitbucketでフォーク元の変更を取り込む方法

Posted at
  • 該当のプロジェクトに cd する
  • フォーク元のリポジトリを登録する

upstream のところはお好みで変更。

$ git remote add upstream foo@bitbucket.org:bar/hogefuga_project.git

その後、フォーク元からの変更を取得し

$ git fetch upstream

自分のmasterにマージする。

$ git merge upstream/master
3
2
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
3
2