class Grits::Branch

Defined in:

grits/branch.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(repo : Repo, ref : LibGit::Reference) #

[View source]

Class Method Detail

def self.create(name : String, target : Commit, force : Bool = false) #

[View source]
def self.create(name : String, target : Repo, *, commit_ref : String = "HEAD", force : Bool = false) #

[View source]

Instance Method Detail

def checked_out? : Bool #

[View source]
def checkout(options : CheckoutOptions = CheckoutOptions.default) : Nil #

[View source]
def id : Oid #

[View source]
def ref #

[View source]
def repo : Grits::Repo #

[View source]