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



11
12
13
# File 'lib/eac_git/remote.rb', line 11

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

#remote_referenceString

Returns:

  • (String)


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

def remote_reference
  uri
end