Method: Git::Base#fetch

Defined in:
lib/git/base.rb

#fetch(remote = 'origin', opts = {}) ⇒ Object

fetches changes from a remote branch - this does not modify the working directory, it just gets the changes from the remote if there are any



316
317
318
# File 'lib/git/base.rb', line 316

def fetch(remote = 'origin', opts={})
  self.lib.fetch(remote, opts)
end