405:尝试拉取请求时出错(并且无法推送到远程,但同步确实有效) [英] 405: error When Attempting Pull Request (and unable to Push to remote, but Sync does work)

查看:78
本文介绍了405:尝试拉取请求时出错(并且无法推送到远程,但同步确实有效)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Git-TF将我们现有的Team Foundation版本控制仓库移动到新的Git仓库(两个仓库都在
相同的VSTS项目中)。

这一切似乎都能正常工作。但是现在我们遇到了很多问题。


  • 尝试将更改从本地分支推送到远程分支会出现以下错误:

推送到远程存储库时遇到错误:
无效参考'origin / development'


  • 但是,使用"同步"命令可以正常工作并将更改成功推送到远程。 />
  • 也许是最大的问题 - 我们只能获得拉动请求才能工作一次。现在每个Pull Request都抛出  405
    错误
    我们尝试做的所有事情(放弃/接受 - 它都抛出相同的405错误)
  • Using the Sync command, however, does work and pushes changes successfully to remote.
  • Perhaps the biggest problem - we've only be able to get a Pull Request to work once. Now every Pull Request is throwing 405 error for everything we try to do (abandon / accept - it all throws the same 405 Error)

推荐答案

您好,

感谢您发布此处!

关于您的查询,请查看以下链接为您提供了将数据从Team Foundation版本控制存储库迁移到新的Git存储库的步骤,并让我们知道反馈。

In regard to your query please go through the below links which gives you the steps to migrate the data from Team Foundation Version Control repo to a new Git repo and let us know the feedback.

http://chriskirby.net/blog/migrate-an-existing-project-from-tfs- to-github-with-changeset-history-intact

http://stackoverflow.com/questions/19548659/migrate-from-tfs-to-git-on-visualstudio -com

https://并发.com / blog / may-2016 / converting-tfvc-to-git

希望它有所帮助!

问候,


这篇关于405:尝试拉取请求时出错(并且无法推送到远程,但同步确实有效)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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