git clone: smudge filter lfs failed

在用Git去clone的时候遇到以下问题:

1
2
3
4
Use git lfs logs last to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: data/processed/career_builder/embedding.npy: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
解决方案:

1
2
3
4
5
6
7
8
9
10
11
// Skip smudge - We'll download binary files later in a faster batch
git lfs install --skip-smudge
// Do git clone here
git clone ...
// Fetch all the binary files in the new clone
git lfs pull
// Reinstate smudge
git lfs install --force
————————————————
版权声明:本文为CSDN博主「Kluiverthoo」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/derteanoo/article/details/124432254

posted @ 2022-09-16 19:09  邱明成  阅读(2106)  评论(0编辑  收藏  举报