MCPcopy Create free account
hub / github.com/cli/cli / BranchConfig

Struct BranchConfig

git/objects.go:64–73  ·  view source on GitHub ↗

These are the keys we read from the git branch. config.

Source from the content-addressed store, hash-verified

62
63// These are the keys we read from the git branch.<name> config.
64type BranchConfig struct {
65 RemoteName string // .remote if string
66 RemoteURL *url.URL // .remote if url
67 MergeRef string // .merge
68 PushRemoteName string // .pushremote if string
69 PushRemoteURL *url.URL // .pushremote if url
70
71 // MergeBase is the optional base branch to target in a new PR if `--base` is not specified.
72 MergeBase string
73}
74
75// Worktree represents a single entry from `git worktree list --porcelain`.
76type Worktree struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected