Re: remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all".
Hi,
On Tue, May 29, 2018 at 11:35:00PM +0200, Alexander Wirt wrote:
> > I intend to push a new version of gatk[1] which contains some large
> > files. I imported the new upstream package the usual way. But if I
> > want to push I get:
> >
> > (master) $ LC_ALL=C git push
> > Counting objects: 4599, done.
> > Delta compression using up to 4 threads.
> > Compressing objects: 100% (4453/4453), done.
> > Writing objects: 100% (4599/4599), 64.56 MiB | 1.09 MiB/s, done.
> > Total 4599 (delta 811), reused 1 (delta 0)
> > remote: Resolving deltas: 100% (811/811), completed with 1 local object.
> > remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all".
> > To salsa.debian.org:med-team/gatk.git
> > ! [remote rejected] master -> master (pre-receive hook declined)
> > ! [remote rejected] pristine-tar -> pristine-tar (pre-receive hook declined)
> > ! [remote rejected] upstream -> upstream (pre-receive hook declined)
> > ! [remote rejected] upstream/4.0.4.0 -> upstream/4.0.4.0 (pre-receive hook declined)
> > error: failed to push some refs to 'git@salsa.debian.org:med-team/gatk.git'
> >
> >
> > I installed git-lfs locally and tried the command above but it seems it
> > is really needed remotely on Salsa. Am I missing something or is there
> > some action needed?
> Your repo has lfs disabled. You should enable it.
How can I do this?
I've just found[1]: "Your administrator only need to enable the LFS option."
Thanks for any hint
Andreas.
[1] https://about.gitlab.com/2017/01/30/getting-started-with-git-lfs-tutorial/
--
http://fam-tille.de
Reply to: