Documentation
¶
Index ¶
- func CheckoutHead() *execabs.Cmd
- func CheckoutLFS() *execabs.Cmd
- func CheckoutSha(repo Repository) *execabs.Cmd
- func ConfigRemapSubmodule(name, url string) *execabs.Cmd
- func ConfigSSHCommand(sshKey string) *execabs.Cmd
- func ConfigSSLVerify(repo Repository) *execabs.Cmd
- func ConfigSafeDirectory(repo Repository) *execabs.Cmd
- func FetchLFS() *execabs.Cmd
- func FetchSource(ref string, depth int, filter string) *execabs.Cmd
- func FetchTags() *execabs.Cmd
- func Init(repo Repository) *execabs.Cmd
- func RemoteAdd(url string) *execabs.Cmd
- func SubmoduleUpdate(repo Repository) *execabs.Cmd
- func WriteNetrc(machine, login, password string) error
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckoutSha ¶
func CheckoutSha(repo Repository) *execabs.Cmd
CheckoutSha handles commit checkout.
func ConfigRemapSubmodule ¶
ConfigRemapSubmodule returns a git command that, when executed configures git to remap submodule urls.
func ConfigSSHCommand ¶
ConfigSSHCommand sets custom SSH key.
func ConfigSSLVerify ¶
func ConfigSSLVerify(repo Repository) *execabs.Cmd
ConfigSSLVerify disables globally the git ssl verification.
func ConfigSafeDirectory ¶
func ConfigSafeDirectory(repo Repository) *execabs.Cmd
ConfigSafeDirectory disables globally the git ssl verification.
func FetchSource ¶
FetchSource fetches the source from remote.
func Init ¶
func Init(repo Repository) *execabs.Cmd
RemoteRemove drops the defined remote from a git repo.
func SubmoduleUpdate ¶
func SubmoduleUpdate(repo Repository) *execabs.Cmd
SubmoduleUpdate recursively initializes and updates submodules.
func WriteNetrc ¶
WriteNetrc writes the netrc file.
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.