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

Accepted Answer
0 votes

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 votes

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
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

47 views 2 4
View post

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