2017-10-02 13 views
0

git-lfs에 대한 토론의 장이 맞는지 모르겠지만 태그가 있으므로 질문을 게시 할 것입니다. 나는 "Troubleshoot Git LFS in Bitbucket" page을 읽었습니다.스머지 오류 : 다운로드 중 오류가 발생했습니다.

ssh-agent bash -c 'ssh-add /home/dan/.ssh/keyname; git clone [email protected]:[repo name removed].git' 

$ git-lfs smudge -- [Filename removed].zip Error downloading object: [Filename removed].zip ([code removed]): Smudge error: Error downloading [Filename removed].zip ([code removed]): [[code removed] Object does not exist on the server: [404] Object does not exist on the server

[404] Object does not exist on the server github.com/git-lfs/git-lfs/errors.newWrappedError /tmp/docker_run/src/github.com/git-lfs/git-lfs/errors/types.go:170: [[code removed]] Object does not exist on the server github.com/git-lfs/git-lfs/errors.newWrappedError /tmp/docker_run/src/github.com/git-lfs/git-lfs/errors/types.go:170: Error downloading [Filename removed].zip ([code removed]) github.com/git-lfs/git-lfs/errors.newWrappedError /tmp/docker_run/src/github.com/git-lfs/git-lfs/errors/types.go:170: Smudge error

사람이 어떤 조언을 구하셨 :들이받은 때

나는 다음과 같은 오류를 받고 있어요?

답변

0

나는 결국 strich하여 응답을 발견 : https://github.com/git-lfs/git-lfs/issues/911

I've had similar issues in the past and I think there may be a potential bug in cloning with git lfs (Still to be determined). You can try this method of fetching the repo, which is in fact faster too:

// 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

This only needs to be done once to initialize the clone for the first time.

Please do test it and let me know if it fixes it.

+0

에 내가이 고정 말할 수 없습니다. 결국 나는 다른 오류가있어 포기했다. –