For security reasons we have disabled https cloning from our Bitbucket instance. (Admin > Server Settings > HTTP(S) SCM hosting > HTTP(S) enabled > off)
Is it possible to use LFS via ssh? And if so, how can we do this?
This is not currently possible - the git-lfs extension is built around HTTP.
The Git LFS client uses an HTTPS server to coordinate fetching and storing large binary objects separately from a Git server.
Sorry I was not completely clear, we use Bitbucket server, not Cloud.
I'm getting the following error message:
Git LFS: (0 of 1 files) 0 B / 128.45 KB
batch response: Unable to parse HTTP response for POST https://mybitbucket/scm/project/test-lfs.git/info/lfs/objects/batch: invalid character '\n' in string literal
error: failed to push some refs to 'ssh://git@mybitbucket:7999/project/test-lfs.git'
When I enable https on the server, it does work. But for security reasons we may only interact with git with ssh
I clone with ssh, so no my remote is pointing to ssh.
Here are my settings:
>git remote -vv
origin ssh://git@mybitbucket:7999/project/test-lfs.git (fetch)
origin ssh://git@mybitbucket:7999/project/test-lfs.git (push)
>git lfs env
git-lfs/2.3.4 (GitHub; windows amd64; go 1.8.3; git d2f6752f)
git version 2.15.1.windows.2
GIT_LFS_PATH=C:\Program Files\Git LFS
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
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!
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