Sourcetree remote: Invalid username or password

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

    I found the answer here, it is a known bug for version 2.1.8+

    The following steps fixed it for me:

    Tools > Options > Git > Update Embedded Git
    

    Also pushing with the command line works.

    EDIT

    Also adding @Latisha's answer:

    1. Do the above.
    2. Close Sourcetree
    3. Delete AppData\Local\Atlassian\SourceTree\passwd 
    4. Restart SourceTree
    

提交回复
热议问题