簡體   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