Method: Pod::Source#update_git_repo

Defined in:
lib/cocoapods-core/source.rb

#update_git_repo(show_output = false) ⇒ Object (private)



448
449
450
451
452
# File 'lib/cocoapods-core/source.rb', line 448

def update_git_repo(show_output = false)
  repo_git(['checkout', git_tracking_branch])
  output = repo_git(%w(pull --ff-only), :include_error => true)
  CoreUI.puts output if show_output
end