Are you using hooks on the server, maybe ? It seems like git at the other end 
tries to run a hook, and it fails, causing the "Couldn't not read from remote 
repository". That's another stab in the dark though...

Regards,
Etienne Samson
--
samson.etie...@gmail.com

> Le 21 févr. 2016 à 20:31, Daniel Santos <daniel.d...@gmail.com> a écrit :
> 
> 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)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/samson.etienne%40gmail.com
> 
> This email sent to samson.etie...@gmail.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