MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / gitRemoteBranches

Function gitRemoteBranches

mob.go:1075–1077  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1073}
1074
1075func gitRemoteBranches() []string {
1076 return strings.Split(silentgit("branch", "--remotes", "--format=%(refname:short)"), "\n")
1077}
1078
1079func gitCurrentBranch() Branch {
1080 // upgrade to branch --show-current when git v2.21 is more widely spread

Callers 3

setupFunction · 0.85
hasRemoteBranchMethod · 0.85

Calls 1

silentgitFunction · 0.85

Tested by 1

setupFunction · 0.68