I am unable to use git-svn to create a branch on an svn server, using the git svn branch <branchname>
command on windows using either git-bash, cygwin or git extensions.
I would like some guidance/suggestions on how to diagnose and debug this issue.
The output on git-bash and 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.
For information, I have cygwin, and TortoiseSVN installed as svn providers on my system.
EDIT1: Additionally, I am able to do git svn rebase
and git svn dcommit
without any error
Check first your Git version in your Cygwin environment.
I mentioned here a Git 2.13+ (March 2017) should be more robust when it comes to authentication issue.
For testing, try (as mentioned here ) to uninstall TortoiseSVN and see if the git svn branch
does work then.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.