0

假设您在分支 A 上有提交:

1
2
3X
4
5X
6
7

并且您想从提交 1、2、4、6 创建一个补丁。我认为可以使用 3 个补丁:

git format-patch -2 3X --stdout > first.patch
git format-patch -1 5X --stdout > second.patch
git format-patch -1 7  --stdout > third.patch

但是可以使用单个补丁吗?

4

0 回答 0