2017-10-02 17 views
0

git-lfsについて議論する正しいフォーラムであるかどうかは分かりませんが、タグがあるので質問を投稿します。私は"Troubleshoot Git LFS in Bitbucket" pageを読んだ。スマッジエラー:ダウンロード中にエラーが発生する

runingてたとき、私は次のエラーを取得しています:

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

に私は私がこれを固定と言うことはできません。結局、私は他のエラーがあるので、私はあきらめました。 –

関連する問題