Class: Capistrano::Git

Inherits:
SCM
  • Object
show all
Defined in:
lib/capistrano/git.rb

Defined Under Namespace

Modules: DefaultStrategy

Instance Attribute Summary

Attributes inherited from SCM

#context

Instance Method Summary collapse

Methods inherited from SCM

#check, #clone, #fetch, #fetch_revision, #initialize, #release, #release_path, #repo_path, #repo_url, #test, #test!, #update

Constructor Details

This class inherits a constructor from Capistrano::SCM

Instance Method Details

#git(*args) ⇒ Object

execute git with argument in the context



9
10
11
12
# File 'lib/capistrano/git.rb', line 9

def git(*args)
  args.unshift :git
  context.execute *args
end