How do I update the password for Git?

后端 未结 26 2091
一整个雨季
一整个雨季 2020-12-02 03:12

I\'m using BitBucket with Xcode and Git for version control, and recently I changed all of my passwords (thanks Adobe!).

Unsurprisingly, I\'m no longer able

26条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 04:07

    In my Windows machine, I tried the solution of @nzrytmn i.e., Control Panel>Search Credentials>Select "ManageCredentials">modified new credentials under git option category corresponding to my username. And then,

    Deleted current password:

    git config --global --unset user.password
    

    Added new password:

    git config --global --add user.password "new_password"
    

    And It worked for me.

提交回复
热议问题