Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ CurrentBranch
Method
CurrentBranch
pkg/cmd/repo/sync/git.go:11–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
type
gitClient
interface
{
11
CurrentBranch() (string, error)
12
UpdateBranch(string, string) error
13
CreateBranch(string, string, string) error
14
Fetch(string, string) error
Callers
6
branchFunc
Function · 0.65
checkRun
Function · 0.65
CurrentBranch
Method · 0.65
executeLocalRepoSync
Function · 0.65
runPublishRelease
Function · 0.65
ensurePushed
Function · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected