Bitbucket fails to authenticate on git pull
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)
这会重置OS X钥匙串中的密码,并在执行此操作后,它会提示您输入回购的用户名和密码。
I think is only an authentication problem...
That's all :)
First, edit your .git/config and remove your username from 'url'.
I had this:
url = https://username@bitbucket.org/pathto/myrepo.git
And after modification:
url = https://bitbucket.org/pathto/myrepo.git
Then try to pull (or push) and use your email and password credentials to login.
链接地址: http://www.djcxy.com/p/92218.html上一篇: 使用git和github登录时出错
