How to change username password of github account in sourcetree on macOs?

天大地大妈咪最大 提交于 2019-12-11 07:23:07

问题


I'm using SourceTree and have 2 GitHub accounts. I connect and push my commits to one of them. First time SourceTree ask me to enter password, but when I wanted to push to my other GitHub account it doesn't ask me to enter the password and just show this error:

I couldn't find a way to change the password. I could push to the other site like GitLab, but I couldn't find a way to change the password for another GitHub account. What should I do?

Os: macOs Seirra


回答1:


Under Tools > Options > Authentification you can edit your username




回答2:


you can change password for git-credential-sourcetree in Keychain Access




回答3:


In new version of Sourcetree, new Account tab added to the preference.




回答4:


In Windows, sometimes the answers provided by "Crux lp" and "Haven Lin" may not work. In that case, just go to "windows credential manager" then click on "Windows Credentials" and find your account in the list. Press on "Edit" and change your password.



来源:https://stackoverflow.com/questions/46363362/how-to-change-username-password-of-github-account-in-sourcetree-on-macos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!