Skip to content

class Grits::Remote
inherits Reference #

Included modules

Grits::Mixins::Pointable

Constructors#

.new(raw : LibGit::Remote)#

Class methods#

.create(repo : Repo, name : String, url : String)#

Methods#

#fetch(refs : Array(String | Nil) = [] of String | ::Nil, options : FetchOptions | Nil = FetchOptions.default, reflog_message : String | Nil = nil)#

#name#

#refspecs : Array(String)#

#update_tips!(callbacks : Remotable::Callbacks | Nil = Remotable::Callbacks.init, update_fetchhead : Bool | Nil = true, download_tags : TagStrategy | Nil = TagStrategy::DownloadTagsAuto, reflog_message : String | Nil = nil)#

#url#