簡體   English   中英

合並兩個分支不是主人

[英]Merge two branches not master

我有一個我創建的分支,它是master的后代。

master -> mybranch

我現在需要將來自things / bugfix的代碼合並到mybranch中

master -> things/bugfix

所以我需要在mybranch中使用/ bug修復代碼

首先結帳mybranch

git checkout mybranch

然后將mybranch things/bugfix合並到mybranch

git merge things/bugfix

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM