У меня две ветки, которые имеют очень мало сходной истории, но связаны друг с другом.
Мне нужны изменения между этими двумя в один git commit.
файлы были удалены и созданы между этими патчами, и я хочу, чтобы патч отражал это.
i.e: следующий материал не будет работать:
git diff branch_a branch_b -- > patchfile
git checkout branch_b
git apply patchfile # deletes and adds are ignored
git commit # we miss the deletes