目次

目次

GitHub Pull request の挙動

アバター画像
與儀 善之
アバター画像
與儀 善之
最終更新日2018/04/23 投稿日2018/04/23

はじめに

とあるブランチをマージしようとした際、Git コマンドの git merge origin/ブランチ名 でマージできたブランチが GitHub の Pull request ではマージできなかったので、色々と調べてみました。

結論

  • GitHub の Pull request では --no-ff オプションでマージされる
  • GitHub Help
Pull requests are merged using the –no-ff option
  • Git コマンドの merge コマンドはデフォルトだと --ff オプションでマージされる
  • git-merge
–ff When the merge resolves as a fast-forward, only update the branch pointer, without creating a merge commit. This is the default behavior.
アバター画像

與儀 善之

好きなアーティスト:L'Arc-en-Ciel

目次