Method: Git::Base#fetch

Defined in:
lib/git/base.rb

#fetch(remote = 'origin') ⇒ 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



287
288
289
# File 'lib/git/base.rb', line 287

def fetch(remote = 'origin')
  self.lib.fetch(remote)
end