> Le 13 nov. 2015 à 19:08, Jerry Krinock <[email protected]> a écrit : > > Despite its limitations, I like to use the Source Control in Xcode instead of > the git command line for common everyday tasks. I have an iMac and a MacBook > Air which both have Xcode 7.1 and OS X 10.11. On the iMac, Xcode’s Source > Control works great but on the Air I’ve had a lot of trouble the past few > months, particularly repositories not showing in the menu, and “Scanning for > working copies…” forever. > > On the iMac, git version reports > git version 2.4.9 (Apple Git-60) > > On the Air, > git version 1.8.2.3 > > I suspect this is the trouble. Bloggers explain how to replace the Apple > Git, implying that it is bad, but don’t explain this assumption. > > • Which do I want, for best working with Xcode, the the special “Apple” > version of git, or the latest git 2.6.2 from sourceforge.net? > > • If the answer is the former, how do I get it? Can I just copy it from > /usr/bin on my iMac? > > • Apparently, updating Xcode is updating git on the iMac but not on the Air. > Why might this be? I just tried manually reinstalling the command-line tools > with (xcode-select —install) on the Air, but it still left me with git > 1.8.2.3.
git is part of Xcode. If you update Xcode, git will be updated. Make sure you are using the command line tool from the last Xcode release (using xcode-select) Make sure there is not an old version of git in your path (using "which git" to make sure it points to /usr/bin/git) _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
