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.

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 Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

291 views 38 9
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot