Sourcetree remote: Invalid username or password

前端 未结 15 1261
失恋的感觉
失恋的感觉 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:36

    I struggled with this a lot, what solved it for me on my Mac is:

    • Open finder, click Cmd + Shift + g
    • enter ~/Library/
    • Go to Application Support/SourceTree folder
    • delete userName@STAuth-bitbucket.org
    • Open KeyChain Access
    • search for sourctree
    • delete the 'login' item
    • clone your source from bitbucket
    • KeyChain will ask for you bitbucket pass

提交回复
热议问题