Enable and add local git repository to Xcode

Click on Xcode then Preferences or Cmd+, select Download and then Components. Install the Command Line Tools.

After complete installation, go to Terminal and cd to the project directory. Issue the following command:
git init
git add .
git commit -m "Initial commit"

You can go to Xcode Organizer in the Repositories section to use the GUI git.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.