Open source

git-markdown

Convert GitHub pull requests into a single Markdown file for offline review, local AI workflows, and focused engineering handoffs.

Open source Paulo Fidalgo

git-markdown is a small CLI that turns a GitHub pull request into one Markdown file.

You can review and reuse the full conversation outside the browser.

What

  • Exports PR metadata, description, review summaries, and discussion comments.
  • Groups review comments by file and line number for easier reading.
  • Hides [resolved] and [done] threads by default, with an option to include them.

How

Install the gem, run one command, and generate a Markdown file you can read offline, annotate, or pass into your local tooling.

gem install git-markdown
git-markdown pr 123

You can export from the current repository or target any repository and pull request number.

Why

PR review usually lives in a browser tab. That works until you need to work offline, share full context quickly, or feed the whole thread into another workflow.

git-markdown keeps that context in one place.

Why I keep it public

This is the kind of small operational tool that comes from real engineering work. Pull requests often move between browser review, local notes, and AI-assisted analysis.

Keeping that context portable is useful.

I publish tools like this because open source should reflect actual workflows, not just polished examples.