key : eclipse git egit github upstream
EGitでのリモートリポジトリの設定
- プロジェクトを右クリック→Team→Show in Repositories ViewでGit Repositoriesビューを開く。
- 対象プロジェクト下の[Remotes]を右クリック→[Create Remote...]をクリック。
- Remote nameは[origin]のままで、Configure pushでOK
- URIにGitHubのリポジトリを登録する。
- Ref mappingsで[Add]を押し、[Ctrl]+[Space]を押してブランチを検索して、マスターを追加する。
- [Save]で閉じる。
以上を設定したら、右クリック→[Team]→[Fetch from Upstream]で取得。Push to Upstream]でプッシュ可能。