class Jumpstarter::Git::Pull
Public Instance Methods
run!()
click to toggle source
# File lib/jumpstarter_core/git.rb, line 37 def run!() # Check if git is installed if not Jumpstarter::Git.installed! # Install git CommandRunner.execute( command: Commands::Git::Install, error: nil ) end # clone CommandRunner.execute( command: "git pull #{@remote} #{@branch}", error: nil ) return true end