Where does Xcode 4.3.1 store local git repository?

Im use Xcode's local repository for my projects. Unless it is not recommended to do so, I am wondering if SourceTree offers better management of my repository than the built-in Xcode tools. I don't know how to add it, i.e., I don't know where Xcode stores the local repository.

2 answers

1 accepted

Yep, or dragging / dropping the folder in which your project resides into the SourceTree Bookmarks window should do the trick.

XCode has to adhere to the same Git repository rules as anything else, which means that the root project folder has a (hidden) folder called '.git' where all the repository data is kept. So the root project folder is your git repository folder, and SourceTree can use that too.

Great! Thank you very much.

0 vote

I haven't check in 4.3.1 (so YMMV) but in 4.2 the git repository is the directory ".git" inside your project directory.

Setting the "Source Path/URL" of a SourceTree bookmark to the top level Xcode project works for me with Xcode 4.2.

Great! Thank you very much.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

67 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you