Hey everyone,
I’m having trouble connecting SourceTree to my Bitbucket account. I signed up for Bitbucket using my Gmail, just like I did for other coding sites. But now I’m stuck.
When I try to access my repo through SourceTree, it asks for a password. I tried using my Google login info, but no luck. It keeps failing.
Does anyone know what I’m doing wrong? Is there a special password I should be using instead of my Gmail one? I’m pretty new to this whole Git thing, so any help would be awesome.
Thanks in advance!
As someone who’s worked extensively with Bitbucket and SourceTree, I can confirm that using your Gmail password won’t work. Bitbucket requires a separate authentication method for third-party applications like SourceTree. Here’s what you need to do:
- Log into Bitbucket via your web browser.
- Navigate to your account settings.
- Look for the ‘App passwords’ section.
- Generate a new app password specifically for SourceTree.
- Use this newly created password in SourceTree when prompted.
This approach enhances security by allowing you to grant and revoke access to specific applications without compromising your main account credentials. It’s a best practice in version control systems and should resolve your connection issues.
I’ve been there, and it can be frustrating. Here’s what worked for me:
Instead of your Gmail password, you need to use an app password specifically for SourceTree. Log into your Bitbucket account in a web browser, go to your account settings, and look for the ‘App passwords’ section. Create a new app password there, giving it a name like ‘SourceTree Access’.
Once you’ve generated the app password, use that in SourceTree instead of your regular password. This should solve the authentication issue.
Remember to keep that app password safe - it’s like a key to your Bitbucket account for SourceTree. If you ever need to revoke access, you can always delete that specific app password without affecting your main account login.
Hope this helps you get connected and start working with your repos!
hey man, i had the same issue! turns out bitbucket uses app passwords for sourcetree. go to ur bitbucket settings, find app passwords section and create a new one. use that in sourcetree instead of ur gmail pass. should work like a charm!