Git Pull Failed: Could not read from remote repository

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 git@10.111.111.11:/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.youkuaiyun.com/scx_yatoy/article/details/53148217
http://bbs.youkuaiyun.com/topics/390909877
https://www.cnblogs.com/juji-baleite/p/5811432.html
http://blog.youkuaiyun.com/sun_promise/article/details/50475386
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值