Add 'rebase' to accidental git commands.
This commit is contained in:
parent
1ade7ef4e0
commit
5e1632c1e2
6
bin/brew
6
bin/brew
@ -329,9 +329,6 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
when 'branch', 'checkout', 'pull', 'push', 'reset'
|
|
||||||
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
|
|
||||||
|
|
||||||
when 'cat'
|
when 'cat'
|
||||||
Dir.chdir HOMEBREW_REPOSITORY
|
Dir.chdir HOMEBREW_REPOSITORY
|
||||||
exec "cat", ARGV.formulae.first.path, *ARGV.options
|
exec "cat", ARGV.formulae.first.path, *ARGV.options
|
||||||
@ -352,6 +349,9 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
when 'branch', 'checkout', 'pull', 'push', 'rebase', 'reset'
|
||||||
|
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
|
||||||
|
|
||||||
else
|
else
|
||||||
onoe "Unknown command: #{arg}"
|
onoe "Unknown command: #{arg}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user