我是否可以从一个存储库向另一个存储库发送拉取请求? [英] Can I send pull request from one repository to another without forking?

查看:102
本文介绍了我是否可以从一个存储库向另一个存储库发送拉取请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在bitbucket中有仓库A和仓库B

我可以在不使用fork特性的情况下从rep B向A发送拉取请求吗?
谢谢

解决方案

据我所知,您不能发送拉请求,因为它们是2个不同的存储库。你可以做的是创建一个补丁 git format-patch code>
并将其添加到您的第二个回购库中作为拉取请求。



Github有自己的做法。
https://github.com/blog / 1901-managing-issues-and-pull-requests-across-repository

I have repository A and repository B in bitbucket

Can I send a pull request from rep B to A without using the fork feature? Thanks

解决方案

As far as i know you cannot sent pull request since they are 2 different repositories. what you can do is to create a patch git format-patch and add it to your second repo as pull request.

Github has its own way of doing it. https://github.com/blog/1901-managing-issues-and-pull-requests-across-repositories

这篇关于我是否可以从一个存储库向另一个存储库发送拉取请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆