How do I update the password for Git?

后端 未结 26 2025
一整个雨季
一整个雨季 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 03:41

    running git config --global --unset user.password followed by any git command would prompt you to enter username and password.

    git config --global --unset user.password
    git push (will prompt you for the password)
    git status (will not prompt for password again)
    

提交回复
热议问题