Sourcetree remote: Invalid username or password

前端 未结 15 1305
失恋的感觉
失恋的感觉 2021-01-30 00:16

Im trying to push to github with sourcetree but get the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin

15条回答
  •  走了就别回头了
    2021-01-30 00:34

    I typed the wrong username (email address) when pushing and what worked for me was:

    Open KeyChain Access search for SourcTree delete the 'login' item

    Then go to Sourcetree > Preferences > Advanced and delete the default usernames that includes the wrong email address.

提交回复
热议问题