Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ezyang/ghstack
/ push_spec
Function
push_spec
src/ghstack/submit.py:272–273 ·
view source on GitHub ↗
(commit: GitCommitHash, branch: str)
Source
from the content-addressed store, hash-verified
270
271
272
def
push_spec(commit: GitCommitHash, branch: str) -> str:
273
return
"{}:refs/heads/{}"
.format(commit, branch)
274
275
276
@dataclass(frozen=True)
Callers
2
process_commit
Method · 0.85
push_updates
Method · 0.85
Calls
1
format
Method · 0.80
Tested by
no test coverage detected