[英]Merging a forked repo to the main repo
How do I merge code in a forked repository to the main repository(from where the fork was created) where I have push permission. 如何将叉式存储库中的代码合并到具有推送权限的主存储库(从中创建派生)。 The main repository is forked for some development and now we need to get the changes to it merged in the main repository.
主存储库是为进行某些开发而创建的,现在我们需要将其更改合并到主存储库中。 And there is no pull request as well.
而且也没有拉取请求。
git fetch
git fetch
从主存储库到本地的最新更改 git merge
git merge
将它们与您的更改git merge
git push
git push
结果提交 steps 1 & 2 can be combined into a signle one with git pull
步骤1和2可以用
git pull
组合成一个信号
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.