概要
Pull Requestの受入手順
詳細
Pull Requestの受入手順について
手順
$ git clone <"受信側最新リポジトリ">
$ git remote add <"Pull Request 送信者名"> <"送信側リポジトリ"> $ git fetch <"Pull Request 送信者名">
- 確認用のリポジトリを作成する
$ git checkout -b <"作業用リポジトリ名">
- マージする
$ git merge <"Pull Request 送信者名">/<"ブランチ名">
- 取り込んだ内容を動作確認する
- メインのリポジトリに取り込みます。仮に master とします
$ git checkout master
- pushします
$ git push
- 作業用のブランチを削除します
$ git branch -d <"作業用リポジトリ名">
- Pull Request がクローズされていることを確認します
- Pull Request の送信者に対してコメントをする