Disable Git LFS for a remote

梦想与她 提交于 2020-07-16 16:12:04

问题


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:


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.



来源:https://stackoverflow.com/questions/36626793/disable-git-lfs-for-a-remote

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!