Re: Accessing Xcode 4 local Git repo in Xcode 5.0.2
Re: Accessing Xcode 4 local Git repo in Xcode 5.0.2
- Subject: Re: Accessing Xcode 4 local Git repo in Xcode 5.0.2
- From: Quincey Morris <email@hidden>
- Date: Thu, 12 Dec 2013 15:09:29 -0800
On Dec 12, 2013, at 13:32 , Peter Teeson <email@hidden> wrote:
> Mountain Lion 10.8.5, Xcode 5.0.2
> Trying to transition to ML and Xcode 5.0.2 I have been able to code/debug/run/edit etc.
>
> My problem is I have not discovered how to add the local .git repo that exists in the project folder, put there when I created the project in XC 4.
> Yes I have Googled, searched Apple Xcode docs and StackOverflow and not found anything to help me.
You shouldn’t need to add the repository explicitly. Just open the project and Xcode should treat it as under SCM. Is there a reason you think it’s *not* doing so?
> The project folder location is /Volumes/Data/Development/MyProjects/FooBarWS/Foobar. There is a .git which shows up with ls -al
> If I type that path into the Xcode Preferences Accounts +Add Repositories box nothing happens.
> I tried adding myself as an Account but that didn't make a difference.
Probably because that repository is already in the list, though perhaps with a name that’s not obviously what you were expecting.
You can try ‘git status’ (or ‘xcrun git status’ if you have to) in a Terminal window, after cd’ing to the Foobar folder. If the results look normal (i.e. if there aren’t any error messages), there’s no reason why Xcode shouldn’t just the git repository without any action on your part.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden