可能出现问题:
一,gitlab未添加git的ssh
1、注册gitlab账号并赋予权限
2、下载安装git,打开git bash,输入ssh-keygen -t rsa -C 'wangzh',一直回车
3、打开c/用户/11488/.ssh/id_rsa.pub文件,拷贝到gitlab中的ssh key中
4、打开IDEA,File-->Settings->Version Control-->Git-->Path to Git Executable,改为git安装目录下D:\Git\bin\git.exe
5、VCS-->Check out from Version Control-->Git,输入项目的ssh地址,clone即可
二,git clone 遇到“unable to access问题解决
解决办法:进入git-bash窗口,输入命令: git config --system http.sslverify false。
或者:git config --global --unset http.proxy
git config --global --unset https.proxy
取消代理
三,Invocation failed Server returned invalid Response. git问题
Invocation failed Server returned invalid Response. java.lang.RuntimeException: Invocation failed Server returned invalid Response. at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:50) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:64) Caused by: java.io.IOException: Server returned invalid Response. at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:242) at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90) .............................
讯享网
在idea中的settings设置找到github核对一下账号密码是否异常,可删除后重新添加,如果是gitee码云,那么修改为码云
或者
讯享网http://root:possword@192.168.1.100:8000/testProject/test.git

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/13226.html