XCODE SCM

如何激活SCM的file status(原文地址: http://yarshure.com/bbs/thread-7941-1-1.html
鼠标右击 project上面的Groups & Files,会出现个菜单,将其中SCM打钩即可。

1、不要将工程的Build目录放入仓库。
Excluding the build Directory from Source Control Operations
A project’s build directory contains many files generated by the Xcode build system. These files should not
go into a source control repository because of their volatility and because they have little need to be tracked
by such a system.
In managed projects, you should move the projects’ build directory to a location outside the realm of source
control operations—that is, outside the project’s project root.
You can specify a custom location for the build directory, in Building preferences
2、SCM的配置选项:
■ Save files before SCM operations. Specifies whether Xcode automatically saves changed files before
performing any source control operations.
■ Configure SCM automatically. Specifies whether Xcode chooses an appropriate SCM repository for a
project after checking it out using the Repositories window. See "Checking Out Directories" (page 16)
for more information
3、两个重要文件:
A、The project file. project.xcodeproj
If you make structural changes to the project, such as adding or removing files, you must commit this
file along with the other changes (for example, when you commit a file you added to your working copy,
you must also commit the project package). Otherwise, the project file may become out of sync with
the rest of the project’s files (source code files, resource files, and so on).
B、The user file <username>.pbxuser
You should include your user file in your commits and updates if you
want to safeguard your personal settings for the project in the repository or if you work on the project
on more than one computer and want to use the same settings on all of them.

你可能感兴趣的:(thread,REST,xcode,Go,bbs)