はじめに
とあるブランチをマージしようとした際、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