Disable Git LFS for a remote

前端 未结 1 1725
灰色年华
灰色年华 2021-01-30 21:24

I\'m trying to push to a second remote that doesn\'t support Git LFS. Is there a way to disable Git LFS for a specific remote using git config?

1条回答
  •  无人及你
    2021-01-30 21:35

    The workaround given by amiuhle works fine for me:

    git push --no-verify
    

    It prevents the pre-push hook of git lfs from trying to upload the files. So link-files are committed, but the actual binaries are missing.

    0 讨论(0)
提交回复
热议问题