Skip to content

πŸ₯³ Release v0.0.1 - git-pr πŸŽ‰

Choose a tag to compare

@kodelint kodelint released this 01 Jul 20:40
· 38 commits to main since this release

A Friendly Git CLI companion for reviewing, diffing, and pulling GitHub pull requests right from your terminal.

✨ Features

  • πŸ“‹ List open pull requests in the current repository
  • πŸ“₯ Pull a PR into a local branch
  • πŸ” Show diffs for a PR against main
  • πŸ“ Submit an approval review on a pull request
  • 🐞 Verbose debug mode for transparency during GitHub API interactions

πŸ› οΈ Under the Hood

  • βš™οΈ Uses GitHub REST API for PR listing and review submission.
  • πŸ“¦ Uses clap for elegant CLI parsing.
  • 🎨 Colorful, emoji-enhanced output via colored.
  • πŸ› Debug logging with DEBUG=true git-pr ....

πŸ“Œ Requirements

  • Git installed and configured.
  • Environment variable GITHUB_TOKEN must be set with repo permissions.

⚠️ Known Limitations

  • Only GitHub is supported for now.
  • Cannot approve your own PRs (GitHub API restriction).
  • Assumes origin is the Git remote of interest.

❀️ Special Thanks

Thanks to the hours of frustration caused by switching between gh, GitHub UI, and git just to review simple PRs β€” this tool was born out of necessity and caffeine. A lot can be done with this and I feel I will keep improving this.