【发布时间】:2017-04-28 09:29:01
【问题描述】:
我无法使用 git-svn 在 svn 服务器上创建分支,在 Windows 上使用 git-bash、cygwin 或 git 扩展程序使用 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 rebase 和git svn dcommit
【问题讨论】:
-
可以直接commit svn吗?最好是命令行。您可以尝试通过 --username 将您的 svn 用户名明确定义为 git-svn
-
是的,我可以直接提交到 svn,我一直使用它作为临时解决方法
标签: windows cygwin git-svn git-bash git-extensions