MCPcopy Create free account
hub / github.com/codemod/codemod / push_branch

Function push_branch

crates/core/src/git_ops.rs:500–618  ·  view source on GitHub ↗

Push the branch to origin with retry logic. Matches the TypeScript implementation: 3 attempts with exponential backoff, plus a remote verification fallback.

(branch: &str, working_dir: &std::path::Path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

finalize_taskMethod · 0.85

Calls 7

RuntimeClass · 0.85
redact_git_credentialsFunction · 0.85
normalize_git_push_errorFunction · 0.85
successMethod · 0.80
cloneMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…