3 ms·
brew edit git That should open this in your editor: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/git.rb https://github.com/Homebrew/homebrew-co
by js2 5y ago
brew edit git
That should open this in your editor:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/git.rb https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/...
Change the url and sha256, then
brew install git
(This is from memory; I'm not in front of a shell, but I think it's correct.)