[英]Windows Git-bash fatal: Could not read from remote repository. when pushing through ssh
[英]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.