初期シナリオ:
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
ポイントを作成する方法がわからず、のみではなく含めることです。E
I
B,C,D,E,F,G,H
F,G,H