我如何解决git子模块添加https://致命的问题:身份验证失败

时间:2020-09-29 18:11:36

标签: git bitbucket

我无法将子模块添加到我的存储库。我可以检出代码并检入代码。

git submodule add https://....git
Cloning into 'C:/code/bitbucket/Repos/...'...
fatal: Authentication failed for 'https:....git/'
fatal: clone of 'https://....git' into submodule path 'C:/code/bitbucket/Repos/...' failed

1 个答案:

答案 0 :(得分:0)

我能够克隆和更新子模块存储库。

git submodule add **ssh://**....git

不确定为什么。