簡體   English   中英

Git pull在Windows中不起作用,致命:無法從遠程存儲庫讀取

[英]Git pull not working in windows, fatal: Could not read from remote repository

在Windows中,當我嘗試git pull origin master時,出現此錯誤。 但是當我從Git Bash嘗試時,它可以工作。

Permission denied (publickey). fatal: Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists

當我嘗試從Windows命令提示符下出現此錯誤。

我的假設是,當在Git Bash之外運行時, git找不到您要訪問的存儲庫的私鑰。

在Git Bash中運行echo $HOME並在Windows命令提示符下set HOME並比較結果。

暫無
暫無

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

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