在我的ventura-mac中,源代码树不断显示"您的存储库没有正确配置"。和远程存储库的URL需要与您的帐户所支持的URL匹配。请选择一个选项来解析。">
我曾尝试更改帐户交换,如https ->SSH和SSH ->https但还是一样的
有人知道这个错误的解决方法吗
- 我已经使用了gitlab CE帐户
change account protocol (https ->Ssh)和(Ssh ->https)
这个线程提到:
修复如果您的SSH设置不正确,您可能会得到以下错误:
Repository not configured correctly A remote repository's URL needs to match what's supported by your accounts.
When I view my account, it has an exclamation mark.
考虑使用HTTPS还是SSH,并重新配置通信设置。
对于SSH,需要设置SSH密钥
我想补充一点,对于HTTPS,您需要使用PAT作为密码