class Rugged::Remote

Public Instance Methods

push(refspecs) click to toggle source

Push a list of refspecs to the given remote.

refspecs - A list of refspecs that should be pushed to the remote.

Returns a hash containing the pushed refspecs as keys and any error messages or nil as values.

# File lib/rugged/remote.rb, line 9
def push(refspecs)
  @owner.push(self, refspecs)
end