MCPcopy Index your code
hub / github.com/cli/cli / Fetch

Method Fetch

pkg/cmd/extension/git.go:14–14  ·  view source on GitHub ↗
(remote string, refspec string)

Source from the content-addressed store, hash-verified

12 CommandOutput(args []string) ([]byte, error)
13 Config(name string) (string, error)
14 Fetch(remote string, refspec string) error
15 ForRepo(repoDir string) gitClient
16 Pull(remote, branch string) error
17 Remotes() (git.RemoteSet, error)

Callers 6

checkoutBranchFunction · 0.65
cloneRunFunction · 0.65
forkRunFunction · 0.65
syncLocalRepoFunction · 0.65
FetchMethod · 0.65
upgradeGitExtensionMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected