Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,569
Community Members
 
Community Events
165
Community Groups

Error: username or password

Hi there,

I'm having issues with sourcetree, the password and username are right, but every time I try to clone a repository this message appears:   Error: remote: Invalid username or password.

 

I've tried every possible solution that I've found on various forums but the problem's still there.

 

What can I do?

 

PS. with other programs like bit tortoise everything is working fine but I have to use sourcetree for internal company politics

 

Many thanks 

 

L

1 answer

Try selecting OAuth instead of Basic and see if that works to authenticate you. I saw the same thing when I used basic and know the password was correct.

You can also generate a Personal Access Token, select Basic and use that as the password

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,702 views 128 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you