I had already done that. I have Xcode 7.2.1 installed with the developer tools.
I I try to reinstall it it says : 

MacBook-Pro:xekmypic dlsa$ sudo xcode-select --install
Password:
xcode-select: error: command line tools are already installed, use "Software 
Update" to install updates


> On 21 Feb 2016, at 21:56, Alex Zavatone <z...@mac.com> wrote:
> 
> Install the developer command line tools, perhaps?
> 
> Sent from my iPhone
> 
> On Feb 21, 2016, at 2:31 PM, Daniel Santos <daniel.d...@gmail.com 
> <mailto:daniel.d...@gmail.com>> wrote:
> 
>> Hi,
>>  
>> After the upgrade to El Capitan I am getting the following error in Git
>>  
>> MacBook-Pro:xekmypic dlsa$ xcode-select -p
>> /Applications/Xcode.app/Contents/Developer
>> MacBook-Pro:xekmypic dlsa$ git push
>> Password:
>> xcrun: error: invalid active developer path 
>> (/Library/Developer/CommandLineTools), missing xcrun at: 
>> /Library/Developer/CommandLineTools/usr/bin/xcrun
>> fatal: Could not read from remote repository.
>>  
>>  
>> Please make sure you have the correct access rights
>> and the repository exists.
>> MacBook-Pro:xekmypic dlsa$
>>  
>> As can be seen from the output of the first command the active developer 
>> path reported by xcode-select is not the same as reported by the git binary.
>> I am running the git binary from the git download site and not the git that 
>> already comes with OS X. I ran the following command to override it :
>>  
>> MacBook-Pro:xekmypic dlsa$ alias git=/usr/local/git/bin/git
>> MacBook-Pro:xekmypic dlsa$ git --version
>> git version 2.6.4
>> MacBook-Pro:xekmypic dlsa$
>>  
>> I already have Xcode 7.2 and the command line developer tools. (it wont let 
>> me reinstalling it, the command xcode-select --install will tell me that the 
>> tools are already installed)
>>  
>> How can I fix this issue ?
>> Thanks
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      (Xcode-users@lists.apple.com 
>> <mailto:Xcode-users@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com 
>> <https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com>
>> 
>> This email sent to z...@mac.com <mailto:z...@mac.com>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to