diff options
| author | Baptiste Fontaine | 2017-06-14 17:26:35 +0200 |
|---|---|---|
| committer | Baptiste Fontaine | 2017-06-14 17:26:35 +0200 |
| commit | 569180dfe5769cf41967c95b60c87130f41c91b9 (patch) | |
| tree | f6b79dd0da362f6c3958a96dc7a83e8010d61829 /Library | |
| parent | 3fe32053a7f0d7f817a90e308ab0c62436a5c208 (diff) | |
| download | brew-569180dfe5769cf41967c95b60c87130f41c91b9.tar.bz2 | |
diagnostic: Fix suggested git remote commands
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 8be357b0d..05e48da21 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -740,7 +740,7 @@ module Homebrew Unless you have compelling reasons, consider setting the origin remote to point at the main repository by running: - git -C "#{HOMEBREW_REPOSITORY}" remote add origin #{Formatter.url("https://github.com/Homebrew/brew.git")} + git -C "#{HOMEBREW_REPOSITORY}" remote set-url origin #{Formatter.url("https://github.com/Homebrew/brew.git")} EOS end end @@ -769,7 +769,7 @@ module Homebrew Unless you have compelling reasons, consider setting the origin remote to point at the main repository by running: - git -C "#{coretap_path}" remote add origin #{Formatter.url("https://github.com/Homebrew/homebrew-core.git")} + git -C "#{coretap_path}" remote set-url origin #{Formatter.url("https://github.com/Homebrew/homebrew-core.git")} EOS end end |
