MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / github_push_new_branch

Function github_push_new_branch

crates/opencode-cli/src/main.rs:4976–4978  ·  view source on GitHub ↗
(branch: &str)

Source from the content-addressed store, hash-verified

4974}
4975
4976fn github_push_new_branch(branch: &str) -> anyhow::Result<()> {
4977 git_run(&["push", "-u", "origin", branch])
4978}
4979
4980fn github_push_current_branch() -> anyhow::Result<()> {
4981 git_run(&["push"])

Callers 1

handle_github_commandFunction · 0.85

Calls 1

git_runFunction · 0.85

Tested by

no test coverage detected