Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Its telling me invalid UN and PW but i am just copy and pasting what works on the bitbucket website.

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote
Error: remote: Invalid username or password
fatal: Authentication failed for ''


1 answer

0 votes

Hi @Wulfe, Lacey  and welcome to the community.

The error indicates that there may be stored credentials in your Git client or credential manager that interfere with authentication to Bitbucket Cloud. It may also mean that the credential manager is not providing the correct credentials for authentication.

Could you please check the following knowledge base article we have on this issue and follow the steps outlined in the Solution section?

If you're using SourceTree, please make sure to also follow the steps in the section "Additional Steps if you are using Sourcetree and experiencing this issue".

In case you're using another Git GUI client, I would suggest checking its Settings for any stored credentials for and remove them as well.

Please feel free to let us know how it goes and if the issue is resolved for you or if you need further help.

Kind regards,

I walked through these instructions but am still getting this 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,513 views 4 8
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