簡體   English   中英

在Windows中克隆git信息庫時顯示錯誤:無法創建臨時文件:沒有這樣的文件或目錄

[英]while cloning git repository in windows show error : unable to create temporary file: No such file or directory

在Windows中,克隆git存儲庫時顯示錯誤,無法創建臨時文件:無此文件或目錄,致命:致命對象寫入失敗,致命:拆包對象失敗我嘗試了不同的軟件sourcetree,smartgit和git-bash,但每個人都顯示相同錯誤

git -c filter.lfs.smudge= -c filter.lfs.required=false
    -c diff.mnemonicprefix=false -c core.quotepath=false
    -c credential.helper=manager-st
    clone --branch master --recursive
    https://narendra910512@gitlab.com/arun.mondal/PostgresProcess.git
    "E:\Collectcent Projects\PostgresProcess"
Cloning into 'E:\Collectcent Projects\PostgresProcess'...
error: unable to create temporary file: No such file or directory
fatal: failed to write object
fatal: unpack-objects failed
Completed with errors, see above.

我做了很多嘗試,但是找不到任何解決方案。

將文件添加到存儲庫時,我遇到了類似的問題。 剛剛找到了對我有用的解決方案。 我將fscache配置更改為False。

git config --global core.fscache false

讓我知道它是否有效!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM