class Rugged::Repository
def push(remote_or_url, *args)
Returns a hash containing the pushed refspecs as keys and
refspecs - A list of refspecs that should be pushed to the remote.
Push a list of refspecs to the given remote.
def push(remote_or_url, *args) unless remote_or_url.kind_of? Remote remote_or_url = remotes[remote_or_url] || remotes.create_anonymous(remote_or_url) end remote_or_url.push(*args) end