Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not sure if and how it would work with a local submodule, but we do something similar with our bitbucket account.</p> <p>To transform your folder into a git repository, commit all files and push them onto a server:</p> <pre><code>cd yourdirectory git init (1) git add . (2) git commit -m "this is my commit message" (3) git remote add origin &lt;adress-of-your-remote-git-repository&gt; (4) git push (5) </code></pre> <ol> <li>Transforms your directory into a local git repository.</li> <li>Stages all files in the directory to your git staging.</li> <li>Commits your staged files.</li> <li>Adds a remote origin to your local repository.</li> <li>Pushes your local repository onto the remote reference.</li> </ol> <p>You now have a remote repository with all your files. To use it as a submodule in any git enabled project:</p> <pre><code>cd yourprojectdirectory git submodule add &lt;adress-of-your-remote-git-repository&gt; (1) git submodule update --init --recursive (2) </code></pre> <ol> <li>Adds the remote repository as a new git submodule.</li> <li>Initializes the submodule so it has actual content in it.</li> </ol> <p>All thats left now is to open the folder of the added submodule in the finder and drag that folder into your Xcode project.</p> <p>To update your files with some changes made in the local project, you would make your changes in the project and then you would do the following:</p> <pre><code>cd yourprojectdirectory/yoursubmoduledirectory git add changedfile.m git commit -m "your commit message" git push </code></pre> <p>Of course you would then have to synch those changes to your other projects:</p> <pre><code>cd yourotherprojectdirectory/yoursubmoduledirectory git pull </code></pre>
    singulars
    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. 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.
 

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