windows - Sourcetree “git clone”给出错误 “fatal: ArgumentOutOfRangeException encountered. Specified argument was out of the range of valid values.”

标签 windows git version-control bitbucket atlassian-sourcetree

当git在Windows 10的命令提示符中克隆存储库时,

git clone https://bitbucket.org/nyxynyx/test

出现Sourcetree v2.6.10.0的屏幕,要求输入登录凭据

enter image description here

问题:输入用户名和密码并单击“继续”按钮后,命令提示符显示错误

fatal: ArgumentOutOfRangeException encountered.

Specified argument was out of the range of valid values.

Parameter name: resultType

Username for 'https://bitbucket.org':



现在,如果我输入相同的用户名和密码,则git clone成功完成。

为什么会发生此错误?如何避免Sourcetree pop 此对话框并直接在命令提示符中输入登录凭据?

最佳答案

pop 的凭据登录窗口不是SourceTree询问的,而是凭据管理器询问的。

您也可以引用问题Bitbucket - Specified argument was out of the range of valid values

现在的问题是fixed

关于windows - Sourcetree “git clone”给出错误 “fatal: ArgumentOutOfRangeException encountered. Specified argument was out of the range of valid values.”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51468811/

相关文章:

windows - Copy-Item 命令在 Powershell 命令行中有效,但在 bat 文件中无效

windows - 用可变用户 ID 替换 Windows 目录路径中的用户名

git - 通常通过 .gitignore 排除哪些特定于 Node.JS 的文件和文件夹?

git - 你什么时候做你的第一次提交?

version-control - 非程序员的版本控制

windows - 用于搜索文件名并将其复制到新 TXT 文件的批处理文件

c# - 如何获取当前帧?

git - Bitbucket 无法 checkout Sourcetree 中的存储库

visual-studio-2010 - Visual Studio 2010 在 git pull 后关闭打开的文件

macos - Git 命令在 Mac 终端 : "dyld: Symbol not found: ___strlcpy_chk" error 中不起作用