module Git
Overview
Git provides a wrapper around git.
TODO wrap libgit2 if it's available, so we can produce static binaries that don't require a subshell, or for git to be available.
Extended Modules
Defined in:
git.crInstance Method Summary
-
#changelog(tag : String, ref = "HEAD") : String | Nil
Generates a Markdown changelog between a previous tag and a ref.
- #config(name : String, key : String) : String | Nil
-
#log(range : String, format = "%s") : Array(String)
Returns a changelog of commit subjects between two refs.
-
#previous_tag(ref = "HEAD") : String | Nil
Returns the tag before the given ref, or nil.
- #remotes : Enumerable(Remote)
Instance Method Detail
def changelog(tag : String, ref = "HEAD") : String | Nil
#
Generates a Markdown changelog between a previous tag and a ref.
def log(range : String, format = "%s") : Array(String)
#
Returns a changelog of commit subjects between two refs.