capabilities.work

Get the raw diff between two refs

One step with Harness. We can help you get access.

Look something up

Get the raw diff between two refs

with Harness
Works with AI assistants

Use Harness: its Harness Repository API lets you get the raw diff between two refs in a single step (GET /code/api/v1/repos/{repo_identifier}/diff/{range}). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What's the full raw diff between two branches in a repo?
  • Can I limit a branch comparison diff to one file path?
Say it to your AI assistant
  • Compare {range} in repository {repo} and return the raw diff.
  • Show the unified diff of {range} in repo {repo} for {path} only.
For your developer

GET /code/api/v1/repos/{repo_identifier}/diff/{range} in Harness Repository API. Full spec on APIs.io.