Class: EacGit::Remote

Inherits:
Object
  • Object
show all
Includes:
RemoteLike
Defined in:
lib/eac_git/remote.rb

Overview

A Git remote repository referenced by URI.

Instance Method Summary collapse

Methods included from RemoteLike

#fetch, #ls

Instance Method Details

#git_commandEacRubyUtils::Envs::Command

Returns EacRubyUtils::Envs::Command.

Returns:

  • (EacRubyUtils::Envs::Command)

    EacRubyUtils::Envs::Command



15
16
17
# File 'lib/eac_git/remote.rb', line 15

def git_command(...)
  ::EacGit::Executables.git.command(...)
end

#remote_referenceString

Returns:

  • (String)


20
21
22
# File 'lib/eac_git/remote.rb', line 20

def remote_reference
  uri
end