Skip to content

feat: v2.2.0 pr cleanup and management#5

Open
clawdeeo wants to merge 7 commits into
airscripts:mainfrom
clawdeeo:feat/v2.2.0-pr-cleanup
Open

feat: v2.2.0 pr cleanup and management#5
clawdeeo wants to merge 7 commits into
airscripts:mainfrom
clawdeeo:feat/v2.2.0-pr-cleanup

Conversation

@clawdeeo
Copy link
Copy Markdown
Contributor

@clawdeeo clawdeeo commented May 13, 2026

Implements ghitgud v2.2.0 PR workflow commands.

Part 1: Cleanup

  • Delete merged branches locally and remotely
  • Fast-forward base branch (main/master)
  • --dry-run to preview changes
  • --force to skip ahead-of-base safety check
  • Squash/rebase merges are detected and skipped safely

Part 2: Push

  • ghitgud pr push to push local changes back to contributor's fork

Part 3: Stack

  • ghitgud pr stack init --base to initialize stacked PR chains
  • ghitgud pr stack add --depends-on to build dependency chains
  • ghitgud pr stack status to view chain state
  • ghitgud pr stack sync to rebase all stacked branches

Part 4: Next

  • ghitgud pr next to checkout the next PR in dependency chain
  • ghitgud pr next --reverse to checkout the previous PR

Part 5: Tests

  • Unit tests for pr service
  • Unit tests for stack service
  • Unit tests for core/git operations

Part 6: Documentation

  • README.md updated with PR command documentation
  • CHANGELOG.md updated with v2.2.0 release notes

@clawdeeo clawdeeo force-pushed the feat/v2.2.0-pr-cleanup branch from ceeba7a to 7e5f4a1 Compare May 13, 2026 23:46
@clawdeeo clawdeeo force-pushed the feat/v2.2.0-pr-cleanup branch from 7e5f4a1 to 618bdde Compare May 14, 2026 00:00
@clawdeeo clawdeeo marked this pull request as ready for review May 14, 2026 08:35
@clawdeeo clawdeeo requested a review from airscripts as a code owner May 14, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant