Class: Capistrano::Git
Defined Under Namespace
Modules: DefaultStrategy
Instance Attribute Summary
Attributes inherited from SCM
Instance Method Summary collapse
-
#git(*args) ⇒ Object
execute git with argument in the context.
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 |