开发者

Cloning protected git repository in Xcode 4

开发者 https://www.devze.com 2023-02-16 11:26 出处:网络
I\'m trying to clone an existing git repository by giving Xcode the url (repository is in codebasehq). The url looks like:

I'm trying to clone an existing git repository by giving Xcode the url (repository is in codebasehq). The url looks like:

git@codebasehq.com:company/project/repository.git

But Xcode can't clone because:

The operation could not be performed because access to the repository "repository" was denied.

Should I add something to th开发者_如何学JAVAat url in order to identify?

Thanks.


I've had limited success with using Xcode 4 and private remote repositories. When it has worked, it has always been when I accessed the repository via https. You might try that. I suspect Xcode 4 has authentication issues.

Of course, you should verify that your can access the repository via SSH first to make sure your key is being exchanged correctly.

0

精彩评论

暂无评论...
验证码 换一张
取 消