gkeenley
gkeenley

Reputation: 7348

How do I check how git was installed on OS X?

I'm using a Mac that already has git installed, and I want to update the version. I'd like to know how git was originally installed so that I can update it using the same tool.

I ran brew list and didn't see git listed, so I'm not sure where else to look.

Does anyone know how I can approach this?

Upvotes: 1

Views: 897

Answers (1)

PHOKKINN KY
PHOKKINN KY

Reputation: 71

to find git installed in your mac, you can try to run command

which git

to show directory that git located in my mac it located

/usr/local/bin/git

Try it out, Thanks

Upvotes: 1

Related Questions