将项目提交给 Xcode 中的源代码管理 [英] committing project to source control in Xcode
问题描述
在 Xcode 4 中,为了将整个项目(所有源文件)提交到源代码控制存储库,是否必须选择项目导航器(Cmd-A)中的所有文件,或者如果我只选择就足够了顶部的项目文件,然后 File->SourceControl->Commit?
In Xcode 4, order to commit the entire project(all source files) to the source control repo, does one have to select all the files in the project navigator(Cmd-A) or is is it sufficient if I select just the Project file at the top and then File->SourceControl->Commit?
推荐答案
如果您选择 File > Source Control > Commit...(或按 Command-Option-C),Xcode 将在提交窗口中列出所有更改的文件.
If you choose File > Source Control > Commit... (or press Command-Option-C), Xcode will list all changed files in the commit window.
如果您右键单击或按住 Control 单击一个文件并选择 Source Control > Commit Selected Files...,Xcode 将仅列出在项目导航器中选择并有更改的文件.
If you right-click or control-click on a file and choose Source Control > Commit Selected Files..., Xcode will only list the files that were selected in the project navigator and have changes.
这篇关于将项目提交给 Xcode 中的源代码管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!