# File lib/git/lib.rb, line 529 def push(remote, branch = 'master', opts = {}) arr_opts = [] arr_opts << "--force" if opts[:force] arr_opts << remote.to_s arr_opts << branch.to_s command('push', arr_opts) end