Skip to content

zero changes: add push and pr subcommands (+ repo-info branch/commit/tag counts) #508

Description

@Vasanthdev2004

The zero changes suite can stage and commit, but there's no way to push the branch or open a PR without dropping to a separate git/gh invocation. Add:

  • zero changes push — push the current branch to its tracking remote (fall back to origin); --force maps to --force-with-lease; --dry-run; with a detached-HEAD guard.
  • zero changes pr — wrap gh pr create (--fill, or --title/--body, --draft), refusing to run interactively without --fill/--title.

Also add BranchCount / CommitCount / TagCount to zero repo-info, keeping it read-only.

Implemented in #391.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestissue-approvedReviewed and approved by the core team; community PRs may implement this issue.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions