[resolved] Git LFS requires password for public repository from anonymous user Edited


I maintain an open-source project on BitBucket, which has a public repository there. Since there are a lot of binary files, I use Git LFS to store them.

Now a user, who wants to clone this repository told me, that he has to enter credentials for the LFS files. Since he has no bitbucket account, he did not enter anything. In this case the clone process stops with an error message "Credentials not found" when trying to download LFS files.

Can Git LFS only be used with a valid bitbucket account? Or is this an error?
Before I switched the repository to public, it was a private repository. Maybe the "public" state has not been propagated to the LFS storage?

How can I debug this?

Best regards

1 answer

After discussing this issue with the support, we found the root cause: My username was part of the URL, which the user used for cloning. Thus he had to provide a password, even for a public repository.

Using the raw repository URL (without username before bitbucket.org), works fine.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,296 views 26 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you