Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <a href="http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html" rel="noreferrer">XCode 4 documentation</a> recommend using command-line tools or a utility program to set up a Git or Subversion repository.</p> <blockquote> To set up a Subversion repository using the command line <p>1/ Open the Terminal utility and use the <strong><code>svnadmin</code></strong> create command to create a Subversion repository.<br> For example, if you want a repository named <code>Sketch_svn</code> in the existing location <code>/Users/myUserName/Repositories</code>, you would enter the command:</p> </blockquote> <pre><code> svnadmin create /Users/myUserName/Repositories/Sketch_svn </code></pre> <blockquote> <p><strong>Tip</strong>: The easiest way to get the full path to a folder into Terminal without risking typing errors is to first type the command (<code>cd</code> in this case), enter a space, and then drag the folder from the Finder and drop it at the end of the Terminal command line.</p> <p>Note that the directory <code>/Users/myUserName/Repositories/</code> must already exist before you execute this command. You can use the Finder or a <code>mkdir</code> command to create the directory.</p> <p>2/ In another location—not in the repository you just created—create a folder to hold a temporary copy of the project. In that folder, create three additional folders named <code>branches</code>, <code>tags</code>, and <code>trunk</code>.</p> <p>3/ Create a new Xcode project in the trunk folder, using Xcode, or put your existing project in the <code>trunk</code> folder, using the command line or the Finder.</p> <p>4/ Use the svn import function to import your project into the repository you created and place it under Subversion source control.<br> For example, if your temporary copy is in <code>/Users/myUserName/Projects/Sketch_tmp</code>, you would enter the following command in Terminal:</p> </blockquote> <pre><code>svn import /Users/myUserName/Projects/Sketch_tmp \ file:///Users/myUserName/Repositories/Sketch_svn -m "Initial import" </code></pre> <blockquote> <p><strong>Notes</strong></p> <ul> <li>The backslash at the end of the first line indicates that the command is continued on the next line. You can omit the backslash and type the entire command on one line. If you do use the backslash, be sure there are no spaces following it before you press Return.</li> <li>There are three forward slashes in the string <code>file:///</code>.</li> <li>If you type the entire command on one line, be sure there is a space before <code>file:///</code>.</li> <li>You can include any comment you want in the quotation marks, but be sure your comment will be meaningful to anyone using the repository.</li> </ul> <p>5/ In the repositories organizer in Xcode, click the Add (<code>+</code>) button at the bottom of the navigator pane, and choose Checkout Repository to create a working copy. </p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload