Skip to content

Pull Requests

gtl wraps common GitHub pull request workflows while keeping file exports under .gtl/.

Inspect Pull Requests

bash
gtl pr
gtl pr 123 --show
gtl pr https://github.com/owner/repo/pull/123 --sync-all
gtl pr files 123

gtl pr can render pull request details to Markdown or print them in the terminal with --show.

Create And Share

bash
gtl new-pr --title "Add help audit" --body "## Summary"
gtl pr preview --title "Draft"
gtl pr copy
gtl pr copy 123

gtl pr preview opens a pull or merge request preview URL for the current branch. gtl pr copy copies the current branch's PR URL or a specific PR URL.

Monitor Activity

bash
gtl pr list
gtl pr conflicts
gtl pr pulse --repo owner/repo
gtl activity
gtl activity-report

gtl pr pulse summarizes conflicts, comments, reviews, and check status changes for PRs that need attention.

Export Markdown

bash
gtl export https://github.com/owner/repo/issues/456
gtl export
gtl export --limit 25
gtl export --all

Without a URL, gtl export writes recent pull requests and issues for the current repository into .gtl/pull-requests and .gtl/issues.

Released under the MIT License.