Xcode 5 如何进入存储库窗口?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18952465/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 5 How to go to Repositories window?
提问by Sarp Kaya
In previous XCode versions(4) I was able to click on Xcode and it would have Source Control -> Repositories
在以前的 XCode 版本 (4) 中,我可以点击 Xcode,它会有 Source Control -> Repositories
Now they have moved Source Control as a new drop down menu but it does not have Repositories part where I could check my SVN and see all other projects.
现在他们已将源代码管理移动为一个新的下拉菜单,但它没有存储库部分,我可以在其中检查我的 SVN 并查看所有其他项目。
Is there a way to open Repositories window?
有没有办法打开存储库窗口?
回答by Rajneesh071
Create New Project then check Source Control
创建新项目然后检查 Source Control
then Menu Bar -> Source Control
New Accounts preferences pane for managing Apple IDs, repositories, and continuous integration serversNew Features in Xcode 5
用于管理 Apple ID、存储库和持续集成服务器的新帐户首选项面板Xcode 5 中的新功能
回答by Lisperman
With XCode 5, all repository management must be done by project.
使用 XCode 5,所有存储库管理都必须由项目完成。
Under the Source Control
menu, choose the master
working copy, then the Configure <project>...
submenu. You will get to a dialog with three tabs. The second tab, Remotes
, allows to add an existing remote to your project or create a new one.
在Source Control
菜单下,选择master
工作副本,然后选择Configure <project>...
子菜单。您将进入一个包含三个选项卡的对话框。第二个选项卡Remotes
允许将现有遥控器添加到您的项目或创建一个新遥控器。
For example, I usually create an empty GIT repository at my remote server, then I create the XCode project con local GIT repository, add the ssh://<server>/<project>
remote address to the above project configuration, and then, the firs time I push the project, XCode connects to the remote repository, verifies that it is empty, and offers to push to the repository, creating it.
比如我通常在我的远程服务器上创建一个空的GIT仓库,然后我创建XCode项目con本地GIT仓库,将ssh://<server>/<project>
远程地址添加到上面的项目配置中,然后,我第一次推送项目时,XCode连接到远程存储库,验证它是空的,并提供推送到存储库,创建它。