New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone does not fetch lfs files #1161
Comments
What does |
$ git lfs env Endpoint=http://gitlab/root/ipctest.git/info/lfs (auth=none) |
Okay, you don't have the The reason why https://github.com/github/git-lfs/blob/master/docs/man/git-lfs-install.1.ronn |
Blah, hit enter too soon. If you have more problems, post a full |
The repo was converted to lfs with BFG
I also added one on top with for example pdf files are not fetched. $ GIT_TRACE=1 git clone http://gitlab/root/ipctest.git ipctest3 |
Correct, Git doesn't understand that syntax. See rtyley/bfg-repo-cleaner#116. I'd recommend trying https://github.com/bozaro/git-lfs-migrate, unless you want to do the painful |
I removed all .gitattributes to a single one on top with correct syntax. It is really true that git lfs clone is MUCH faster than git clone... Thanks a lot! |
@sophana If you only did that on the most recent commit, without another big migration, then any previous commits will not fetch LFS objects. You can always do that by running
Then you may be interested in the https://github.com/github/git-lfs/blob/master/docs/man/git-lfs-install.1.ronn Glad you god it working :) |
I tried I also remade the transfer (from git-svn) with https://github.com/bozaro/git-lfs-migrate. Worked just fine. |
Hi
I'm using git 2.7.1 and git-lfs 1.2.0 under el6 64bit.
I successfully tried git-lfs with gitlab server.
Few days before, I think that a git clone fetched lfs files automatically.
now, I'm not sure what I changed (maybe upgrade git-lfs from 1.1.0?), but lfs files are no more fetched by default.
I have to do "git lfs pull", or clone with "git lfs clone".
Is it normal behavior? Is there something that I need to do for git clone to fetch lfs files?
I'm using http url with credential.helper=store.
I also tried downgrading git-lfs to 1.1.0, but still the same.
The text was updated successfully, but these errors were encountered: