class Git::Remote
- Git::Remote
- Reference
- Object
Defined in:
lib/remote.crConstructors
Instance Method Summary
-
#create_ref?(name : String, non_fast_forward = true)
Creates a reference that points to the corresponding remote reference.
- #default_fetch_credential
- #default_push_credential
- #fetch(refspecs : Array(String)? = nil, options : FetchOptions? = nil, credential : Credentials::Base? = nil)
- #fetch(refspec : String)
- #fetch_credential=(fetch_credential : Credentials::Base?)
- #fetch_credential? : Credentials::Base?
- #fetch_options=(fetch_options : FetchOptions?)
- #fetch_options? : FetchOptions?
- #fetch_refspecs
- #fetch_url
- #name : String
- #new_callback_payload(credential)
- #push(refspec : String)
- #push(refspecs : Array(String)? = nil, options : PushOptions? = nil, credential : Credentials::Base? = nil)
- #push_credential=(push_credential : Credentials::Base?)
- #push_credential? : Credentials::Base?
- #push_options=(push_options : PushOptions?)
- #push_options? : PushOptions?
- #push_url?
- #repo : Repo
- #safe : Safe::Remote::Type
Constructor Detail
Instance Method Detail
def create_ref?(name : String, non_fast_forward = true)
#
Creates a reference that points to the corresponding remote reference.
def fetch(refspecs : Array(String)? = nil, options : FetchOptions? = nil, credential : Credentials::Base? = nil)
#
def push(refspecs : Array(String)? = nil, options : PushOptions? = nil, credential : Credentials::Base? = nil)
#