Bitbucket – push repo with git lfs

When I’m trying to push my files into bitbucket repo (some of them tracked by git LFS, pattern is *.uasset), I’m getting this error (I’ve changed actual credentials with ---):

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
Pushing to

Git LFS: (0 of 241 files) 0 B / 372.25 MB                                      

Post stopped after 3 redirects
Post stopped after 3 redirects
Post stopped after 3 redirects

error: failed to push some refs to ''

Completed with errors, see above.

I don’t know what’s wrong. Can you advice me how to solve this error?

  • Permission Denied (publickey) during cap deploy ever since I moved to bitbucket
  • Using Git tags - can't pull new tags
  • Git for Production got messed up with merging error
  • Bitbucket SSH Key loading but not working
  • What is push repository URL?
  • What causes git push to fail all of a sudden with “User was holding a relation lock for too long”?
  • Unable to push to repository using GIT Extensions
  • Backmerging a stitched up feature branch with clean history
  • How do I get information about a git repo using absolute paths
  • Force git rebase to accept my version after an initial merge conflict
  • How to use Git with “multiple (thousands) projects” in one-repo?
  • Git - corrupted object?
  • 2 Solutions collect form web for “Bitbucket – push repo with git lfs”

    Thanks for comments. It seems that Bitbucket really doesn’t provide LFS as a service, so I’m going to try GitLab.

    Actually, BitBucket does provide support for LFS a few months later (July 2016).

    See issue 11204

    Today we released Git LFS in Beta, native in Bitbucket Cloud.
    While LFS support is in Beta, teams up to 5 users get 1 GB of LFS storage and paid team’s storage is based on your user tier.

    To get started with the Git LFS Beta, you can enable it in 1 click on the repositories you would like to try it out on. Simply head to the ‘Git LFS Beta’ section on the left side bar in the repository settings in Bitbucket Cloud.

    For more information on Git LFS, please see this blog.

    That new option is also visible in SourceTree:

    Git Baby is a git and github fan, let's start git clone.