2016-09-25 92 views

回答

1

我只是試圖做你的建議。我創建了一個使用Git LFS存儲.csv文件的存儲庫。我把回購推到GitHub。然後,在沒有安裝Git的LFS系統上,我試圖克隆回購,收到一個錯誤說,「混帳LFS」命令未找到:

λ git clone https://github.com/myusername/git_lfs_tests.git 
Cloning into 'git_lfs_tests'... 
remote: Counting objects: 11, done. 
remote: Compressing objects: 100% (9/9), done. 
remote: Total 11 (delta 2), reused 10 (delta 1), pack-reused 0 
Unpacking objects: 100% (11/11), done. 
git-lfs filter-process: git-lfs: command not found 
fatal: The remote end hung up unexpectedly 
warning: Clone succeeded, but checkout failed. 
You can inspect what was checked out with 'git status' 
and retry the checkout with 'git checkout -f HEAD' 

一旦我安裝的Git LFS,它工作得很好。所以,看起來你需要在系統上使用git lfs來克隆repo。