class Trooper::Actions::UpdateRepositoryAction

Private Instance Methods

branch() click to toggle source
# File lib/trooper/actions/update_repository_action.rb, line 19
def branch
  config[:branch] || 'master'
end
build_commands() click to toggle source
# File lib/trooper/actions/update_repository_action.rb, line 12
def build_commands
  cd application_path
  run "git checkout #{branch} -q"
  run "git pull origin #{branch} -q"
  run "git gc --aggressive"
end