LoginSignup
10
7

More than 5 years have passed since last update.

git mergeではなくgit merge --no-ffを使う理由

Last updated at Posted at 2016-10-06

自分のなかでしっくりきていなかったので調べました。下記のような理由らしい。

--no-ff フラグは、たとえマージがfast-forwardで実行できるとしても、新しいコミットオブジェクトを作成する。これは、履歴にフィーチャーブランチが存在したという情報を失うのを避けるのと、機能の追加に使った全てのコミットをひとまとめにしておける。
http://keijinsonyaban.blogspot.jp/2010/10/a-successful-git-branching-model.html

10
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
7