Information Technology Reference
In-Depth Information
Xcode creates the project in the usual way. If you open the project's folder on disk, you see the standard collec-
tion of files. However, if you open the Organizer and select the Repositories tab, you see that a repository has
been created for the project, as shown in Figure 14.6. Whether you're working locally or online, this repository
view lists all the repositories managed by Git. Whenever you create a new project with Git support, a new re-
pository is added to the list.
Notice that the project already includes the following:
The project name: This is defined when you create the project.
The repository type: This is either Git or Subversion.
The location: For a local project, this is the folder on disk that contains the source. For a remote project,
this is a special URL that links to the repository on the remote server.
An initial commit: The first commit for the project is created automatically and includes the initial de-
fault files. You can use the reveal triangle to view the file list.
A timestamp: The time and date of each commit is recorded.
A hash : The faa5b77c734f tag in the figure is a random number generated to give the commit a
unique identifier. Each new commit has a new hash. If you work exclusively in Xcode, you can ignore the
hash tags. If you work at the command line, you can use the tags to specify a commit when you want to
modify it, clone it, delete it, and so on.
FIGURE 14.6
Reviewing the project repository in the Organizer
Search WWH ::




Custom Search