Bitbucket fails to authenticate on git pull

后端 未结 16 1195
无人共我
无人共我 2020-12-12 11:40

I use BitBucket and had to change my password because it was compromised.

git pull

remote: Invalid username or password. If

16条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 12:15

    I needed to do this and run a git pull in order to set my password from the command line in order to get this working.

    Note this method saves your password in a plain text file on your disk:

    git config --global credential.helper store
    git pull
    

    Other solutions here: Is there a way to skip password typing when using https:// on GitHub?

提交回复
热议问题