Skip to content

module Grits::Mixins::Repo #

Included modules

Grits::Mixins::Repository::Commit Grits::Mixins::Repository::Tag Grits::Mixins::Repository::Tree

Direct including types

Grits::Repo

Methods#

#bare?#

#checkout_head(options : CheckoutOptions = CheckoutOptions.default)#

#checkout_tree(object : Grits::Object, options : CheckoutOptions = CheckoutOptions.default)#

#commondir#

#config(snapshot : Bool | Nil = false#

#configure_identity(name : String | Nil = nil, email : String | Nil = nil) : Nil#

#configured_identity : Tuple(String | ::Nil, String | ::Nil)#

#create_branch(name : String, *, ref : String = "HEAD", force : Bool = false)#

#create_remote(name : String, url : String)#

#create_remote#

#create_remote_with_fetchspec(name : String, url : String, refspec : String)#

#detach_head#

#diff_workdir(options = DiffOptions.default) : Diff#

#diff_workdir(options = DiffOptions#

#discover(start : String, across_fs : Bool = false, cieling_dirs : String = "") : String#

#each_fetchhead : Void#

#empty?#

#hash_file(path : String, type : Object::Type, as_path : String | Nil = nil)#

#head#

#head?#

#head_detached?#

#head_unborn?#

#item_path(item : Item)#

#lookup_commit(sha : String) : Commit#

#mirror_remote(name : String, url : String)#

#namespace : String | ::Nil#

#object_database#

#path#

#remote(name : String)#

#remotes#

#remotes#

#revparse_single(text : String)#

#set_head(name : String)#

#shallow? : Bool#

#workdir#

#worktree#

#worktree#

#worktree?#

#worktree_head(worktree : String) : Reference | Nil#

#worktree_head_detached?(worktree : String)#