报错日志
9:28 Update failed Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at git4idea.GitAppUtil.sendXmlRequest(GitApUtiljava:30) at git4idea.http.GitAskPassApp.main(GitAskPassAppjava:58) Caused by: java.net.SocketException: Unexpected end of file from server at java.base/sw.wewwww.ttp.HttpClient.parseHTTPHeaderHttpClientjava:866) at java.base/w.twww.http.HttpClient.parseHTTP(HttpClintjava:689) at java base/sn.netwww.http.HttpClient.parseHTTPHeader(HttpClientjava:863) at java.base/sun.ntwww.http.HttpClient.parseHTTP(HttpClintjava:689) at java.base/sun.netwww.protoco.ht.HttpURLConnection.getinputStream0(HttpURLConnectionjava:1615) at java. base/sun.etwwww.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransportjava:87) at org.apache... (show balloon) 9:28 Update canceled
解决方法 找到本地项目的".git/config" 中,修改url的地址
url=https://XXXX.git1
修改为
url= git@XXX.git