简体   繁体   English

由于401无法执行git pull

[英]Can't do git pull due to 401

On a server I faced with an issue: 在服务器上,我遇到了一个问题:

$ git pull origin branch1:branch1
Password: 
error: The requested URL returned error: 401 while accessing https://123@bitbucket.org/123/456.git/info/refs

fatal: HTTP request failed

The web site isn't mine but I'm working on it. 该网站不是我的,但我正在努力。 I know the credentials: user login and password and login and password for ssh access. 我知道凭据:用户登录名和密码以及ssh访问的登录名和密码。 I provided the password of the user I was logged in by. 我提供了登录用户的密码。 And it seemed it turned out to be wrong, so it asked me about some other password. 看来这是错误的,因此它询问了其他密码。 Which one? 哪一个?

it asked me about some other password. 它问我一些其他密码。 Which one? 哪一个?

With an url like https://123@bitbucket.org , it is asking you about the password of the account 123 on bitbucket (nothing to do with ssh passphrase). 使用https://123@bitbucket.org之类的网址,它会询问您有关bitbucket上的帐户123的密码(与ssh密码无关)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM