Skip to content

Support push without creating a PR #7

@dezren39

Description

@dezren39

Problem

ez push always creates or updates a PR. Sometimes users want to push a branch to the remote without creating a PR — for backup, CI, sharing with a collaborator, or because they are not ready for review.

Current behavior

  • ez push = git push + gh pr create/edit — always touches PRs
  • ez submit = push whole chain + create/update all PRs
  • No way to push without PR side effects

Proposed solution

  1. ez push --no-pr — push the current branch to the remote without creating/updating a PR
  2. ez submit --no-pr — push the whole chain without touching PRs
  3. When --no-pr branches are later pushed without the flag, PRs are created as usual

Alternatives considered

  • Users could use git push directly, but that bypasses ez's remote tracking and branch naming
  • A separate ez backup command, but that adds unnecessary surface area

Use cases

  • Work-in-progress backup to remote
  • Sharing branch with collaborator before PR
  • CI builds triggered by branch push, not PR
  • Incremental pushes during development

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions