Skip to content
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

Failing to mirror repo with file in LFS #22

Open
stichiboi opened this issue Nov 18, 2022 · 2 comments
Open

Failing to mirror repo with file in LFS #22

stichiboi opened this issue Nov 18, 2022 · 2 comments

Comments

@stichiboi
Copy link

I'm mirroring a repo from Github to Gitlab.

The Github repo has a file in LFS.

The Gitlab repo has Git Large File Storage (LFS) option enabled

Yet I'm getting this issue:

Locking support detected on remote "mirror". Consider enabling it with:
  $ git config lfs.https://gitlab.com/[my gitlab repo].git/info/lfs.locksverify true
LFS upload failed:
  (missing) assets/very_large_file.txt ([file hash])
hint: Your push was rejected due to missing or corrupt local objects.
hint: You can disable this check with: 'git config lfs.allowincompletepush true'

In my Github action,

      - uses: pixta-dev/[email protected]

I saw there is a PR to add support for LFS, but I don't know if it's in the current action version.

Do you have suggestions on how to solve this problem?

@maris-development
Copy link

Still having this issue

@rbarrett-trinet
Copy link

The issue is still present, I think you need to add an option for LFS = true as an input that runs the following:

git lfs fetch --all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants