[英]windows git https clone through proxy server failed to write files
在通過sysinternal通過我的公司代理服務器克隆存儲庫的過程中,我可以看到它試圖編寫git存儲庫,但是失敗了。 但是,創建了.git目錄,但大多數目錄都為空。
我已經使用“ git config --globlal http.proxy ...
”和“ git config --global https.proxy ...
”設置了代理服務器配置。
由於我已連接到git(提示輸入我的帳戶/密碼),因此我知道代理設置有效。
從Sysinternal,我可以看到錯誤為
Query Open C:\Users\myUser\https:\github.com\myGitAccount\source.git\.git FAST IO DISALLOWED
CreateFile C:\Users\myUser\https:\github.com\myGitAccount\source.git\.git NAME INVALID Denied Access: Read Attributes. Disposition:
Github驗證了回購協議是可以的。
用於https訪問的GitHub存儲庫的git克隆應為:
git clone https://github.com/aUserName/aRepoName.git
如果要緩存GitHub憑據,則應在定義HOME的會話中進行,如“ Git-如何在Windows上使用.netrc
文件保存用戶和密碼 ”中所述。
對於代理,另請參閱“ 與github同步 ”。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.