Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the git origin remote location of Homebrew in Mac OS X 10.8 (mountain lion)?

In setting up my Mac OS X 10.8 Mountain Lion environment (per these instructions), I am running into an issue with Homebrew after installing it and running brew doctor in the shell.

    Warning: Suspicious git origin remote found.

    With a non-standard origin, Homebrew won't pull updates from
    the main repository. The current git origin is:

    Unless you have compelling reasons, consider setting the
    origin remote to point at the main repository, located at:
    https://github.com/mxcl/homebrew.git

How can I change the git origin remote location?

like image 486
Tom Geoco Avatar asked Feb 23 '13 06:02

Tom Geoco


1 Answers

Thanks to this post, I discovered my issue.

When installing Homebrew, it doesn't seem to pull the latest version. After installation, run brew update. Homebrew more recently fixed the "Origin issue" in a later release which is reflected upon updating the installation.

like image 153
Tom Geoco Avatar answered Nov 14 '22 12:11

Tom Geoco