phpland avatar

How to update git on macOS

dignityinside

Published: 15 Aug 2017 › Updated: 15 Aug 2017How to update git on macOS

How to update git on macOS

Check installed version:

git --version
git version 1.7.12.4 (Apple Git-37)

Install git with Homebrew:

brew install git

Add this line to your ~/.bash_profile:

export PATH="/usr/local/bin:$PATH"

Save change and apply this by:

source .bash_profile

Check your version again:

git —version
git version 2.11.1

Leave How to update git on macOS to:

Written by

🎥 40+ обучающих видео на YouTube 📝 170+ статей и публикаций на сайте 💎 500+ подписчиков и учеников 🗝

Read more #programming posts


Best Posts From phpland

We have not curated any of dignityinside's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From phpland