Reference in a Git repository.

Abstract
ExtendsGitonomy\Git\Revision
ChildrenGitonomy\Git\Reference\Branch
Gitonomy\Git\Reference\Stash
Gitonomy\Git\Reference\Tag
Methods
public __construct(Gitonomy\Git\Repository $repository, $revision, $commitHash = NULL)
public delete()
public getCommit()
 

Returns the commit associated to the reference.

public getCommitHash()
public getFullname()
public getLastModification( $path = NULL)
public Gitonomy\Git\Revision::getLog( $paths = NULL, $offset = NULL, $limit = NULL)
public Gitonomy\Git\Revision::getRepository()
public Gitonomy\Git\Revision::getRevision()
 
  • return string
Properties
protected $commitHash
protected Gitonomy\Git\Revision::$repository
protected Gitonomy\Git\Revision::$revision
 
  • var string
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only