マージ済みのブランチかどうかを確認する
スポンサーリンク
まずはmasterブランチに切り替えておきます
masterブランチにマージ済みかどうかを調べるのでmasterブランチに切り替えておきましょう。
$ git branch * master merged_branch no_merged_branch
マージ済みブランチを表示する
git branch --merged は、現在作業中のブランチにマージ済みのブランチを表示します。
$ git branch --merged * master merged_branch
マージしていないブランチを表示する
git branch --no-merged は、現在作業中のブランチにマージされていないブランチを表示します。
$ git branch --no-merged no_merged_branch
更新日:2018年08月24日
作成日:2018年07月30日