Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions content/downloads/mac.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@ <h3>MacPorts</h3>
<p>Install <a href="https://www.macports.org">MacPorts</a> if you don't already have it, then:<br>
<code>$ sudo port install git</code></p>

<h3>Xcode</h3>
<p>Apple ships a binary package of Git with <a href="https://developer.apple.com/xcode/">Xcode</a>.</p>

<h3>Xcode Command Line Tools</h3>
<p>Apple ships a binary package of Git with <a
href="https://developer.apple.com/xcode/resources/">Xcode Command Line
Tools</a>.<br>
<code>$ xcode-select --install</code></p>

<h3>Binary installer</h3>
<p>Tim Harper provided an installer for Git until version 2.33.0 / 2021. This
project was archived in favor of Xcode Command Line Tools.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project was archived in favor of Xcode Command Line Tools.

I don't think that was quite the consensus of #1774, so I am loathe to accept that explanation as-is.

The conversation in that ticket concluded with no definitive decision as to which binary package to recommend, but XCode was suggested as a replacement only by @timcharper.

However, it is frustratingly hard (and apparently impossible) to say for sure which Git version XCode's Command Line Tools include. The release notes certainly keep everyone in the dark!

Therefore, I do not want to merge this as-is. I want a more nuanced description here. It should at least mention that most developers opt to use Homebrew. It looks as if even GitHub Actions' hosted macOS runners ship a different Git version than XCode's (this update down-grades Git while leaving the XCode Command Line Tools unchanged, suggesting that the former is not included in the latter).


<h3>Building from Source</h3>
<p>If you prefer to build from source, you can find tarballs
<a href="https://www.kernel.org/pub/software/scm/git/">on kernel.org</a>.
Expand Down
Loading