Method: Magica::Command::Git#pull
- Defined in:
- lib/magica/commands/git.rb
#pull(dir, remote = 'origin', branch = 'master') ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/magica/commands/git.rb', line 26 def pull(dir, remote = 'origin', branch = 'master') workin dir do _run format(@pull_options, remote: remote, branch: branch, flags: @flags.join(' ')) end end |