Class R10K::Git::ShellGit::ThinRepository
In: lib/r10k/git/shellgit/thin_repository.rb
Parent: R10K::Git::ShellGit::WorkingRepository

Manage a Git working repository backed with cached bare repositories. Instead of duplicating all objects for new clones and updates, this uses Git alternate object databases to reuse objects from an existing repository, making new clones very lightweight.

Methods

cache   clone   fetch   new  

Public Class methods

Public Instance methods

@return [String] The origin remote URL

Clone this git repository

@param remote [String] The Git remote to clone @param opts [Hash]

@options opts [String] :ref The git ref to check out on clone

@return [void]

Fetch refs from the backing bare Git repository.

[Validate]