TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why is Git in Xcode on macOS?

2 点作者 fernandokokocha大约 1 年前
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

coldtea大约 1 年前
&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 未加载