MCPcopy
hub / github.com/cli/cli / PushRevision

Method PushRevision

pkg/cmd/pr/shared/finder.go:42–42  ·  view source on GitHub ↗
(ctx context.Context, branchName string)

Source from the content-addressed store, hash-verified

40 PushDefault(ctx context.Context) (git.PushDefault, error)
41 RemotePushDefault(ctx context.Context) (string, error)
42 PushRevision(ctx context.Context, branchName string) (git.RemoteTrackingRef, error)
43}
44
45type finder struct {

Callers 1

Implementers 2

Clientgit/client.go
stubGitConfigClientpkg/cmd/pr/shared/finder_test.go

Calls

no outgoing calls

Tested by

no test coverage detected