Skip to content
Snippets Groups Projects
Commit 5751b9e6 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

doctor: add instructions for remote migration.

parent 371858f4
No related branches found
No related tags found
No related merge requests found
......@@ -777,6 +777,14 @@ def check_git_origin
cd #{HOMEBREW_REPOSITORY}
git remote add origin https://github.com/Homebrew/homebrew.git
EOS
elsif origin =~ /mxcl\/homebrew(\.git)?$/ then <<-EOS.undent
Outdated git origin remote found.
The main Homebrew repository has migrated to:
https://github.com/Homebrew/homebrew.git
Run `brew update` (again) to migrate to the new main repository location.
EOS
elsif origin !~ /Homebrew\/homebrew(\.git)?$/ then <<-EOS.undent
Suspicious git origin remote found.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment