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

Method CheckoutBranch

pkg/cmd/extension/git.go:24–26  ·  view source on GitHub ↗
(branch string)

Source from the content-addressed store, hash-verified

22}
23
24func (g *gitExecuter) CheckoutBranch(branch string) error {
25 return g.client.CheckoutBranch(context.Background(), branch)
26}
27
28func (g *gitExecuter) Clone(cloneURL string, cloneArgs []string) (string, error) {
29 return g.client.Clone(context.Background(), cloneURL, cloneArgs)

Callers

nothing calls this directly

Calls 1

CheckoutBranchMethod · 0.65

Tested by

no test coverage detected