Merge pull request #3551 from laurent22/master

Mentions how hub needs to be configured
This commit is contained in:
Mike McQuaid 2017-12-11 09:01:59 +00:00 committed by GitHub
commit 7411da36e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ module Homebrew
if reply.to_s.include? "username:"
formula.path.atomic_write(backup_file) unless ARGV.dry_run?
odie "You need to configure hub"
odie "Please authentify with hub (eg. by typing 'cd $(brew --repo) && hub issue') and try again."
end
remote = reply[/remote:? (\S+)/, 1]