如何将拉的请求从一个Git服务器迁移到另一台Git服务器的存储库?
I am using below commands to migrate the repository from one Git server to another.I am able to move the tags but unable to move the pull requests.
git clone --bare https://github.forEx.myRepositoryUrl
git remote set-url origin [email protected]:Example/myRepositoryUrl.git
git push --all
git push --tags
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您至少需要获取存储这些PR分支的
pult/
名称空间。并创建本地分支,供您推回新的存储库。
但是,现在可能会通过其注释和验证转移实际的拉请求项目。
You would need at least to fetch the
pull/
namespace in which those PR branches are stored.And create local branches for you to push back to the new repository.
That might now however transfer the actual pull request item, with its comments and validation.