Skip to main content

Module fetch

Module fetch 

Source
Expand description

Fetch and push operations.

Every operation here talks to a remote. Over HTTPS they authenticate with the token held in the git_token secret (username oauth2), both overridable with token_secret and username. Without that secret they fall back to the SSH agent and the git credential helper.

Structsยง

FetchPushOutput
FetchRemote
Fetch from a remote.
PushRemote
Push to a remote.
RemoteDefaultBranch
Get the default branch of a remote.
RemoteDefaultBranchOutput
RemotePrune
Prune stale remote-tracking branches.
RemotePruneOutput