MCPcopy
hub / github.com/claude-code-best/claude-code / getDefaultBranch

Function getDefaultBranch

src/utils/git.ts:265–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263}
264
265export const getDefaultBranch = async (): Promise<string> => {
266 return getCachedDefaultBranch()
267}
268
269export const getRemoteUrl = async (): Promise<string | null> => {
270 return getCachedRemoteUrl()

Callers 8

context.tsFile · 0.85
getDiffRefFunction · 0.85
getOrCreateWorktreeFunction · 0.85
teleportToRemoteFunction · 0.85
fetchPrStatusFunction · 0.85
createBridgeSessionFunction · 0.85
getPromptForCommandFunction · 0.85
launchRemoteReviewFunction · 0.85

Calls 1

getCachedDefaultBranchFunction · 0.85

Tested by

no test coverage detected