Information Technology Reference
In-Depth Information
CAUTION
If you're familiar with Git on other platforms, you may be used to typing origin for remote repo access and push
commands, instead of <RepositoryName>. Sometimes this works. Sometimes it confuses Xcode. You need to ex-
periment with the most recent version of Xcode to find the best name.
Working with a GitHub repository
CAUTION
At the time of writing online repository support remains extremely buggy, with persistent crashes and error mes-
sages. Some of the features only work if you ignore the errors and attempt them twice. Xcode 4 should improve as
it matures, but don't use these features with valuable production code until you've experimented with them and
confirmed their reliability. The following examples are believed correct at the time of writing, but features and op-
erations may change in the future.
After you create an online repository, the local repository is no longer needed, so you can select it in the Repos-
itories page in the Organizer, and use the Delete key to delete it. Note that this doesn't delete the project it-
self—it simply removes the list of source changes.
You can now replace the original local repository with a version that also supports GitHub. In the Repository
Page in the Organizer, click the “+” icon at the lower left. Select the Add Repository option. You'll see the dialog
in Figure 14.22.
FIGURE 14.22
Creating a new online repository
Search WWH ::




Custom Search