Class: Capistrano::Deploy::Strategy::Git

Inherits:
Remote
  • Object
show all
Defined in:
lib/o2h/capistrano/deploy/strategy/git.rb

Overview

Implements the deployment strategy which does an SCM checkout on each target host. This is the default deployment strategy for Capistrano.

Instance Method Summary collapse

Instance Method Details

#clone!Object



10
11
12
# File 'lib/o2h/capistrano/deploy/strategy/git.rb', line 10

def clone!
  scm_run clone
end

#deploy!Object



14
15
16
# File 'lib/o2h/capistrano/deploy/strategy/git.rb', line 14

def deploy!
  scm_run sync
end