Method: Git::Base#pull

Defined in:
lib/git/base.rb

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

pulls the given branch from the given remote into the current branch

@git.pull                          # pulls from origin/master
@git.pull('upstream')              # pulls from upstream/master
@git.pull('upstream', 'develope')  # pulls from upstream/develop


350
351
352
# File 'lib/git/base.rb', line 350

def pull(remote='origin', branch='master')
			self.lib.pull(remote, branch)
end