class Grits::Branch
- Grits::Branch
- Reference
- Object
Defined in:
grits/branch.crConstructors
Class Method Summary
- .create(name : String, target : Commit, force : Bool = false)
- .create(name : String, target : Repo, *, commit_ref : String = "HEAD", force : Bool = false)
Instance Method Summary
- #checked_out? : Bool
- #checkout(options : CheckoutOptions = CheckoutOptions.default) : Nil
- #id : Oid
- #ref
- #repo : Grits::Repo
Constructor Detail
Class Method Detail
def self.create(name : String, target : Repo, *, commit_ref : String = "HEAD", force : Bool = false)
#