Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Remotes
Method
Remotes
pkg/cmd/extension/git.go:17–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
ForRepo(repoDir string) gitClient
16
Pull(remote, branch string) error
17
Remotes() (git.RemoteSet, error)
18
}
19
20
type
gitExecuter
struct
{
Callers
15
EnableRepoOverride
Function · 0.65
SmartBaseRepoFunc
Function · 0.65
remotesFunc
Function · 0.65
checkoutBranch
Function · 0.65
forkRun
Function · 0.65
NewCmdSetDefault
Function · 0.65
setDefaultRun
Function · 0.65
syncLocalRepo
Function · 0.65
updateRemote
Function · 0.65
resolveScope
Function · 0.65
detectGitHubRemote
Function · 0.65
detectMissingRepoDiagnostic
Function · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected