Class: Avm::Git::ApplicationScms::Base::AssertMainAt
- Inherits:
-
Object
- Object
- Avm::Git::ApplicationScms::Base::AssertMainAt
- Defined in:
- lib/avm/git/application_scms/base/assert_main_at.rb
Constant Summary collapse
- MAIN_REFERENCE =
'HEAD'
Instance Method Summary collapse
Instance Method Details
#result ⇒ Pathname
20 21 22 23 24 |
# File 'lib/avm/git/application_scms/base/assert_main_at.rb', line 20 def result local_repos.remote(base.git_https_url).fetch local_repos.command('checkout', remote_head_commit_id).execute! path end |