S4 class to handle a git reference

Description

Class "git_reference"

Slots

name

The full name of the reference.

type

Type of the reference, either direct (GIT_REF_OID == 1) or symbolic (GIT_REF_SYMBOLIC == 2)

sha

The 40 character hexadecimal string of the SHA-1

target

The full name to the reference pointed to by a symbolic reference.

shorthand

The reference's short name

Methods

show

signature(object = "git_reference")


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.