Git在远程存储库之间进行合并/推送更改

时间:2012-08-06 18:31:58

标签: git github

用户将项目https://github.com/foo/project.git投射到https://github.com/bar/project.git并开始处理https://github.com/bar/project.git

他可以毫无问题地推送他对分叉副本所做的更改。

  1. 用户如何将https://github.com/bar/project.git中的更改推送到https://github.com/foo/project.git

  2. 用户如何将更改从https://github.com/foo/project.git提取到https://github.com/bar/project.git

  3. 感谢您是否可以提供确切的步骤。

1 个答案:

答案 0 :(得分:1)

https://help.github.com/articles/using-pull-requests/

该过程是使用“拉取请求”。根据上述文档,请访问github.com/bar/project.git,单击“Pull Request”并更新目标以指向github.com/foo/project.git。

发送拉取请求后,所有者可以查看并自动合并原始仓库上的拉取请求。

相关问题