Xcode将新文件添加到SVN中的现有项目 [英] Xcode adding new files to existing project in svn
问题描述
我在svn上有一个现有项目,我想提交一个新的ViewController类。我的问题与ViewController和.storyboard文件一起,我是否也提交了project.pbxproj?
I have an existing project on svn and i want to commit a new ViewController class. My questions is along with the ViewController and .storyboard file do i also commit the project.pbxproj ? or is that not required.
抱歉这个愚蠢的问题
推荐答案
您只需要将已更改或新添加的文件添加到svn存储库。不变的文件不需要提交。当您从 Source Control-> Commit
中选择一个文件时,它将向您显示文件中发生的更改的预览。如果要添加新文件,则应这样添加 Source Control-> Add
&然后提交。
You only need to add the files to the svn repository which have been changed or newly added. Files unchanged don't need to commit. When you select a file from Source Control->Commit
it will show you the preview for changes occurred in the file. If you are adding a new file then you should add like this Source Control->Add
& then commit.
关于 project.pbxproj
,如果存储库中已存在该文件,则不需要提交
about project.pbxproj
you don't need to commit this file if it already exists in repository
这篇关于Xcode将新文件添加到SVN中的现有项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!