Aaron Wardle
Mobile & Web Software Developer
  • Home
  • Mobile Apps
  • Blog
  • About
Select Page ...

Monthly: July, 2011

XCode - Creating a git repository for an existing project

admin July 19, 2011 Uncategorized 1 Comment

Today I spent ages trying to create a git repository for my existing XCode projects, after much googling and trial and error I finally worked it out.

My problem was that my Mac / XCode expects git to be in /usr/bin/git so I just had to create a symlink

1) sudo ln -s /usr/local/git/bin/git /usr/bin/git

2) CD to your project folder

3) Type git init

4) Type git add .

5) Type git commit -m “Initial Commit”

6) Re open XCode and it should now be working under the newly created git repository.

 

 

  • Categories

    • Development Tips
    • Game Development
    • iPhone App Talk
    • Tutorials
    • Uncategorized
    • Website Talk
  • Twitter Updates

    • No public Twitter messages.
  • Links

    FreeAgent Small Business Online Accounting

    • Photos on flickr

    • Aaron Wardle

      Feel free to follow me on any of the social networks below.

    • EmailLinkedInTwitter
    Copyright © 2014 Smart PC Solutions Ltd. All Rights Reserved