Search code examples
macosterminalosx-mountain-lionhomebrew

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?


Solution

  • 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.