繁体   English   中英

使用git-svn创建上游分支时无法进行身份验证

[英]Unable to authenticate when creating upstream branch using git-svn

我无法使用git-svn在svn服务器上创建分支,使用git-bash,cygwin或git扩展在Windows上使用git svn branch <branchname>命令。

我想就如何诊断和调试此问题提供一些指导/建议。

git-bash和cygwin的输出:

$ git svn branch upstream-branch-name
Copying https://***redacted*** at r132578 to https://***redacted***/branches/upstream-branch-name...
Can't create session: Unable to connect to a repository at URL 'https://***redacted***': No more credentials or we tried too many times.
Authentication failed at C:\Program Files\Git\mingw64/libexec/git-core\git-svn line 1199.

有关信息,我在我的系统上安装了cygwin和TortoiseSVN作为svn提供程序。

EDIT1:另外,我能够做git svn rebasegit svn dcommit没有任何错误

首先在Cygwin环境中检查你的Git版本。
在这里提到的Git 2.13 +(2017年3月)在身份验证问题上应该更加强大。

为了测试,尝试(如此处所述 )卸载TortoiseSVN并查看git svn branch是否正常工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM