Springcloud 踩坑之config连接github

322 阅读1分钟

首先建立的是github私库,确保本地的SSH是连得上的。

根据的是周阳老师的视频,使用ssh方式会报Auth fail。

参见网上的说法,使用旧版key,也就是非OpenSSH,但是这样github不认。

Springcloud又不支持openSSH,据说新版本有升级。

换成https连接,键入username和password。 这时候报的是:github.com/XXXXXX.git: authentication not supported 但是明显这种方法也是不合理的,先记录一下。 或者cannot open git-upload-pack

Authentication is required but no CredentialsProvider has been registered

搞不动了,决定公开库,以后解决了我再回来改。