git -c diff.mnemonicprefix=false -c core.quotepath=false fetch --prune origin
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://bitbucket.org/xxx/yyy.git/'
This started happening after I updated SourceTree (Windows) to v2.1.10. It tries to run the command 4 times and then fails. It doesn't ask me for a password, it just fails.
During the installation I've been prompted to login to Atlassian, which I did
I've tried the following, without success:
Nothing, same problem that's driving me crazy. The only workaround I've found is to put both username and password in the remote URL, which is unacceptable in more than a very short term.
What credentials is SourceTree using, and where does it take them?!
Executing the same command from the terminal, git correctly asks me for the password. When been given, it does the job just fine.
What should I do to fix this?
Looks like this issue was the culprit. Updating the embedded git seems to solve the problem.
A really obscure and unintuitive solution, if you ask me.
Guys, this is bonkers. Why was the embedded git left behind to v1.9.5 when I updated, if this has been proven to be problematic?
The updating process needs some rethinking, IMO.
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs