繁体   English   中英

如何使用git合并多个补丁?

[英]How do I merge multiple patches with git?

我有几个补丁需要合并到我的分支中

指导方针是:

git checkout 4.4
git checkout -b 4.4-xamarin
git am Engine/Plugins/XamarinUE4/Patches/*

Patches有33个不同的修补程序,我git am Engine/Plugins/XamarinUE4/Patches/*的问题是git am Engine/Plugins/XamarinUE4/Patches/*似乎什么都没做。

我得到以下输出:

D:\Ue4src\UnrealEngine>git am Engine/Plugins/XamarinUE4/Patches/*
Stray d:/Ue4src/UnrealEngine/.git/rebase-apply directory found.
Use "git am --abort" to remove it.

如果我查看“修改日期”,似乎根本没有文件更改。

确保没有正在进行的git rebase 如果不是,则可以安全地删除rebase-apply目录: Git错误:以前的rebase目录.git / rebase-apply仍然存在,但是指定了mbox

之后,使用git am应用补丁应该没问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM