| Class | R10K::Environment::Git |
| In: |
lib/r10k/environment/git.rb
|
| Parent: | R10K::Environment::Base |
This class implements an environment based on a Git branch.
@since 1.3.0
| ref | [R] |
@!attribute [r] ref
@return [String] The git reference to use for this environment |
| remote | [R] |
@!attribute [r] remote
@return [String] The URL to the remote git repository |
| repo | [R] |
@!attribute [r] repo
@api private @return [R10K::Git::StatefulRepository] The git repo backing this environment |
Initialize the given SVN environment.
@param name [String] The unique name describing this environment. @param basedir [String] The base directory where this environment will be created. @param dirname [String] The directory name for this environment. @param options [Hash] An additional set of options for this environment.
@param options [String] :remote The URL to the remote git repository @param options [String] :ref The git reference to use for this environment
Clone or update the given Git environment.
If the environment is being created for the first time, it will automatically update all modules to ensure that the environment is complete.
@api public @return [void]