Bitbucket无法在git pull上进行身份验证 [英] Bitbucket fails to authenticate on git pull
本文介绍了Bitbucket无法在git pull上进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
git pull
$ 我使用BitBucket并必须更改密码。 c $ c>
remote:无效的用户名或密码。如果您通过第三方服务登录,则必须确保您的帐户配置文件中设置了帐户密码。
致命:https://bitbucket.org/myusername/myproject.git/ '
如何我可以使用命令行更改我的密码吗?
解决方案
git config --global credential。帮助程序osxkeychain
git config - 全局凭证库(Windows 10)
重置OS X密钥链中的密码,并在执行此操作后,它会提示您输入回购的用户名和密码。
I use BitBucket and had to change my password because it was compromised.
git pull
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://bitbucket.org/myusername/myproject.git/'
How can I change my password using command line?
解决方案
git config --global credential.helper osxkeychain
git config --global credential.helper store (for Windows 10)
This resets the password in OS X keychain and after executing this, it prompts you for the user name and password for your repo.
这篇关于Bitbucket无法在git pull上进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文