Reputation: 305
I would like to simply update the git version already installed in my Macbook Pro which is:
git version 2.32.0 (Apple Git-132)
I do NOT wish to reinstall a new version of git with Homebrew; I would just like to update the above mentioned already existing version of git installed in my mac.
Can you help? (thank you)
Upvotes: 9
Views: 9071
Reputation: 76559
The version of Git you're mentioning is shipped with XCode or the XCode Developer Tools, and it's built and shipped only as part of that by Apple. You can try to install a newer version of whichever of those programs you've installed, but otherwise, there's no way to force them to be updated. Apple will ship a new version if and when it pleases.
If you want a newer version than Apple provides currently, then you'll have to use another source for it. Homebrew is simply one option among many, but it's of course a recommended one. You could also build from source, but then you have to maintain things yourself, and you may need additional software anyway to usefully build it.
Upvotes: 6