Updated to latest Mavericks and Xcode 5. Attempts to pull or push against a git repository now give me this error:
xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.
Xcode 5 is installed in /Applications, and the tools are present (/Applications/Xcode.app/Contents/Developer/usr/bin/git exists, for instance). Tried running `sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer`; no effect.
Any ideas? Thanks!
Update: I am using the embedded version of git:
Switching to system git (1.8.3.4) gives me the same error.
Update #2: Tried:
This doesn't seem to be SourceTree specific; I get the same error if I try to run `git fetch` from the command line. Other git commands seem to work, so it must be something related to connecting to the remote server. Still completely stumped.
Ah, I figured it out: was missing the Command Line Tools package on the SERVER. There is no indication in the error message itself where it originated, and I made the assumption that it was on my client box.
Easy fix, then: xcode-select --install (on the server, that is)
Sorry for the drama; glad to have it fixed!
open ur terminal and do this:
PATH=/usr/local/git/bin:$PATH
export PATH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This won't work as SourceTree runs in its own process and thus own environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't really make any sense: git isn't installed at that location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jason,
This should work fine as has done in our Xcode 5 tests. This means your SourceTree preferences are set to use system Git. You could get ST working by specifying 'embedded Git' in your Git preferences.
As for the missing Git, perhaps you need to re-specify system Git and choose the location as /usr/bin/git. I've got a funny feeling Xcode has moved its own Git installation (command line tools) elsewhere which is why SourceTree might be failing as it's looking up the place it used to be.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Updated my question with version information: I was set to use the embedded git, and switching to system git still gives me the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.