Skip to content

push_branch

Push a local git branch to the remote repository in a Polygraph session.

Required before creating a PR via create_pr. Specify the session, the target repo, and the branch name to push. Requires an active Polygraph session with the target repo cloned.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID.
targetstringyesRepo name or ID to push from.
branchstringyesBranch name to push to remote (e.g., "feature/my-changes").