初期シナリオ:
A (master)
\
B - C - D (development)
マージ後に欲しいもの --squash:
A - E (master/development)
\ /
B - C - D
ブランチmasterでgit logは、
commit E
Squashed commit of the following:
commit D
commit C
commit B
commit A
ブランチで開発を続けるdevelopment:
A - E (master)
\ / \
B - C - D F - G - H (development)
再度スカッシュでマージします。
A - E - I(master/development)
\ / \ /
B - C - D F - G - H
ブランチmasterでgit logは、
commit I
Squashed commit of the following:
commit H
commit G
commit F
commit E
Squashed commit of the following:
commit D
commit C
commit B
commit A
ブランチdevelopmentでgit logは、
Commit I
Commit H
Commit G
Commit F
Commit E
Commit D
Commit C
Commit B
Commit A
masterすべてのコミットをオンに保ちながら、押しつぶされたコミットとマージしたいと思いdevelopmentます。
それを実装する方法がわかりません。私の問題は、最初のマージでDポイントを作成する方法がわからず、のみではなく含めることです。EIB,C,D,E,F,G,HF,G,H