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

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

Hello

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
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,095 views 4 22
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