git拉取代碼錯誤:
9:22 Git Pull Failed: Could not read from remote repository.
9:22 Fetch failed: Could not read from remote repository.
解決:
1、準備git伺服器位址密碼
git clone [email protected]:/home/git/test/test.git
密碼fk2GeFj4test
2、在檔案中項目根目錄.git目錄下config檔案添加:
[credential]
helper = store
3、在檔案中選中項目右鍵git進行pull,輸入密碼
4、idea中ctrl+alt+s修改git選項中ssh executable為Built-in本地建構
5、idea中ctrl+alt+s修改HTTP Proxy為No proxy不使用代理(注:這個需要根據實際情況而定)
6、update project
7、選中idea中項目進行pull
參考連結:
http://blog.csdn.net/scx_yatoy/article/details/53148217
http://bbs.csdn.net/topics/390909877
https://www.cnblogs.com/juji-baleite/p/5811432.html
http://blog.csdn.net/sun_promise/article/details/50475386