I have a git repository with two remotes configured.
One of those remotes is a local bare git repository, accessed over ssh (its url is ssh://username@host:/home/username/repo.git
) and it does not support git LFS.
Is it possible to disable LFS for that remote and make git push
send original content of tracked files, instead of pointers?
I've followed advises from these articles, but they don't help:
https://github.com/git-lfs/git-lfs/issues/3665#issuecomment-496549743
Command git push
succeeds, but I've got pointer files instead of original content:
$ head ./src/LARGE-file.bin
version https://git-lfs.github.com/spec/v1
oid sha256:e4790eb8aeb78cc79ace0f3d9719875d95091fe97969302d6816f64b9f0f8850
size 1430976
To summarize, my goal is to enable git LFS for one remote and disable it for another.
Alternatively, it is also possible to configure LFS for that pure ssh remote, and I'd appreciate recommendations on how to do that.