Class R10K::Git::Head
In: lib/r10k/git/head.rb
Parent: R10K::Git::Ref

head: A named reference to the commit at the tip of a branch. Heads are stored in a file in $GIT_DIR/refs/heads/ directory. except when using packed

@deprecated This has been replaced by the ShellGit provider and the

  StatefulRepository class and will be removed in 2.0.0

@see www.kernel.org/pub/software/scm/git/docs/gitglossary.html @api private

Methods

fetch?   new  

External Aliases

head -> ref

Attributes

head  [R]  @!attribute [r] head
  @return [String] The git head

Public Class methods

Public Instance methods

If we are tracking a branch, we should always try to fetch a newer version of that branch.

[Validate]