I tried to generate App password on Atlassian and used that. Then I went to sourceTree Options/Authentication and I click to refresh password. Entered that generated password and it said Athenticated! Then I go to pull and it failed. This used to work with a previous version of sourceTree!
It fails even if I put in my Atlassian password!!
On bitbucket.org go to left panel and click Personal Preference. In Left panel then click App Passwords. Create your password.
Go back to SourceTree and in the SourcePath paste "https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git". Where USERNAME is your bitbucket username and the APP_PASSWORD is the password you have generated in previous step.
This worked on my Windows, after 2h fight :(
G'day!
Thank you for contacting Bitbucket Cloud Support.
The most common issue customers are experiencing related to authentication in SourceTree is due to the deprecation of GIT username/password in favour of App Passwords:
https://bitbucket.org/blog/deprecating-atlassian-account-password-for-git-and-bitbucket-api-activity
We have a blog post however which explains the steps to troubleshoot this issue, please follow all of these steps accordingly (including uninstall/re-install) and this should resolve the issue:
https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968
git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git
git clone https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.