当我通过 Xcode 连接到我的存储库时遇到问题。
我在远程服务器上的 TurnkeyLinux 虚拟设备上安装了 Gitlab 版本(完全预装)。在 Gitlab Web 界面中,我创建了一个新的测试用户:“testuser”,密码为“password”和一个新项目“testproject”。此用户已分配给此项目。
git url 项目是:
HTTP: http://example.com/testuser/testproject.git
SSH: git@example.com:testuser/testproject.git
我可以通过 SSH 连接看到使用“终端”正确创建的存储库文件夹。
现在,我想将此 git 存储库添加到我的 Xcode 存储库中。
所以,在
XCode > Preferences > Account
我正在尝试使用 url 和我的用户凭据添加它,但总是收到以下消息:
"Authentication failed because the name or password was incorrect."
有人可以帮我吗?