Xcode adding new files to existing project in svn

2019-08-05 09:48发布

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.

Sorry about the silly question

2条回答
兄弟一词,经得起流年.
2楼-- · 2019-08-05 10:19

Right click the new files, click Source Control -> Add

Then right click again , click Source Control -> Commit Selected Files

Thats it.

查看更多
一纸荒年 Trace。
3楼-- · 2019-08-05 10:27

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.

about project.pbxproj you don't need to commit this file if it already exists in repository

查看更多
登录 后发表回答