Class R10K::Git::ShellGit::BaseRepository
In: lib/r10k/git/shellgit/base_repository.rb
Parent: Object

Methods

branches   git_dir   ref_type   resolve   rev_parse   tags  

Included Modules

R10K::Logging

Public Instance methods

@return [Array<String>] All local branches in this repository

@abstract @return [Pathname] The path to the Git directory

@return [Symbol] The type of the given ref, one of :branch, :tag, :commit, or :unknown

Resolve the given Git ref to a commit

@param pattern [String] The git ref to resolve @return [String, nil] The commit SHA if the ref could be resolved, nil otherwise.

rev_parse(pattern)

Alias for resolve

@return [Array<String>] All tags in this repository

[Validate]