Method: Git::Base#pull

Defined in:
lib/git/base.rb

#pull(remote = 'origin', branch = 'master', message = 'origin pull') ⇒ Object

fetches a branch from a remote and merges it into the current working branch



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

def pull(remote = 'origin', branch = 'master', message = 'origin pull')
  fetch(remote)
  merge(branch, message)
end