TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why is Git in Xcode on macOS?

2 pointsby fernandokokochaabout 1 year ago
On a new macOS machine, you are basically tricked into installing git along with Xcode [1]. If you do so, you have to download an 8GB package, even if you only want git (which is my case and I can’t be the only one).<p>To make it even worse: on every system update git becomes unavailable, You have to accept your Xcode license to start using it again.<p>Is it me or it’s a terrible design? That’s super inconvenient, takes so much extra resource, and it&#x27;s not even a one-time operation. And again, I couldn’t care less about Xcode, I just want my git.<p>What are the benefits of having within Xcode? I feel that if there are benefits, end-users aren’t the beneficiaries but Apple devs, which would be sad.<p>[1] https:&#x2F;&#x2F;forums.developer.apple.com&#x2F;forums&#x2F;thread&#x2F;672087?answerId=659036022#659036022

1 comment

coldteaabout 1 year ago
&gt;<i>On a new macOS machine, you are basically tricked into installing git along with Xcode [1]. If you do so, you have to download an 8GB package, even if you only want git (which is my case and I can’t be the only one).</i><p>So, just install Brew, or MacPorts, or Nix, and use them to install just git, or just download a git binary directly. You can also download the smaller &quot;Command Line Tools&quot; package that includes git and clang.<p>The user is not really tricked: the XCode installer is neither meant, nor advertised as the way to get git when you just want git. Xcode installs various libs, tools, and, among them, git, for its own purposes. So, sure, if you want to use XCode you&#x27;ll also get an installation of git, but the reverse is in no way necessary.
评论 #39579256 未加载