Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gitless-vcs/gitless
/ get_branch
Function
get_branch
gitless/cli/helpers.py:22–23 ·
view source on GitHub ↗
(branch_name, repo)
Source
from the content-addressed store, hash-verified
20
21
22
def
get_branch(branch_name, repo):
23
return
_get_ref(
"branch"
, branch_name, repo)
24
25
26
def
get_tag(tag_name, repo):
Callers
1
get_branch_or_use_upstream
Function · 0.85
Calls
1
_get_ref
Function · 0.85
Tested by
no test coverage detected