Xcode Create Git Repository From Existing Project

Creating git repository for you existing xcode project can be done as follow:

  1. Use the cdcommand to switch to your project directory, making it the current working directory.
  2. Enter git init to create an empty repository.
  3. Enter git add . to copy your project files into the repository.
  4. Enter git commit -m "Initial commit"to commit all the files.

For more details take a look at Setting Up a Subversion Repository.

Xcode Create SVN Repository From Existing Project

Posted in Mac, Tips and Tricks Tagged with: , ,