Problems installing Git with Homebrew [duplicate]

2020-05-19 05:13发布

Possible Duplicate:
Problems Upgrading Git with Homebrew

I'm very close here -- I think I just need to create a symbolic link, but I'm not sure how (and why this is need). I'm on OSX Lion btw.

I've downloaded and installed git using this command.

brew install git

the response is

git-1.7.12 already installed, it's just not linked

How do I do this?

when I run

which git
>/usr/bin/git

when I run

git --version
>git version 1.7.4.4

My paths are fine

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

Again -- all I really need to know is how to set up the sym link. Thanks!

1条回答
Rolldiameter
2楼-- · 2020-05-19 05:32

All you should need to do is:

brew link git
查看更多
登录 后发表回答