Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个远程仓库。它有四个分支,即master、branch1、branch2、branch3。我将更改推送到主仓库。现在我想将这些更改添加到 branch3。我是否必须合并它们如果是,那么我该怎么做?
我认为这只是
git checkout branch3 git rebase master
是的,首先确保您与遥控器同步:
checkout master pull origin master checkout branch3 pull origin branch3
然后进行合并
merge master
如果需要,请按
push origin branch3