簡體   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