Remote URL test failed: unable to access ‘http://192.168.199.110/1111/mytest.git/’: Failed to connect to 192.168.199.110 port 80: Timed out
解决办法:
修改git配置文件.gitconfig
步骤如下:
选择第一个用记事本打开
也就是找到http添加上代理
proxy = 192.168.197.129:80
[diff "astextplain"]
textconv = astextplain
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[http]
proxy = 192.168.197.129:80
sslBackend = openssl
sslCAInfo = D:/software/Git/mingw64/ssl/certs/ca-bundle.crt
[core]
autocrlf = true
fscache = true
symlinks = false
[pull]
rebase = false
[credential]
helper = manager-core
[credential "https://dev.azure.com"]
useHttpPath = true
[init]
defaultBranch = master
再次去gitlab中复制项目,点击下面图片红色方框,复制路径,注意是http
回到idea中,粘贴到URL上
发现成功!输入用户名和密码就可以了
登录成功后点击push
成功
GitLab上可以看到你的项目了。