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
If you do have two-factor authentication enabled in GitHub you might have gotten here as well. In that case follow AlonR's answer (for Mac - worked for me) or Sven's answer (for Windows - untested) and then follow the instructions here to make it work.
I had the same problem , I Relogged In to the account solved this error for me.
I faced this issue when i updated Embedded Git
. Solved it by removing passwd file. you can find it here. then restart source tree.
AppData\Local\Atlassian\SourceTree\passwd
For OSX following by steps below
Go to: Preferences -> Advance -> Choose the account in table you want to remove -> Click to remove
I had the same problem for Sourcetree 2.10, but with the above solution not working.
Reverting to version 2.0 solved it.
Sourcetree download archive: (https://www.sourcetreeapp.com/download-archives)
This worked for me on Mac