> On Nov 13, 2015, at 10:08 AM, Jerry Krinock <[email protected]> wrote:
> 
> 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.

I’ve never heard of that. AFAIK Apple ships a regular version of Git, they just 
amend the version string to stamp it with their build number. You might want to 
replace it with a newer version if you want some new Git feature, but not 
because there’s something wrong with the one that comes from Apple.

> • 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 
> <http://sourceforge.net/>?

I suspect Xcode will always use the version of Git it’s packaged with, 
regardless of which version happens to be in the $PATH of your shell.

> Apparently, updating Xcode is updating git on the iMac but not on the Air.  
> Why might this be?

You’ve probably got an old version of git in some directory in your shell’s 
$PATH, most likely /usr/local/bin. Enter “which git” at a shell prompt to see 
where it is.

If you want to remove it, it’s not as easy as just a single rm — Git actually 
consists of a large number of binaries, one for each subcommand (git-status, 
git-pull, git-commit, etc.) The “git” tool is just a convenience that launches 
the appropriate tool. If this Git was installed through a package manager like 
homebrew or macports, you can use their uninstall command to remove it. 
Otherwise I’m not sure how to find all the files.

—Jens
 _______________________________________________
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]

Reply via email to