Get diff statistics between two refs
One step with Harness. We can help you get access.
Look something up
Get diff statistics between two refs
with Harness
Works with AI assistants
Use Harness: its Harness Repository API lets you get diff statistics between two refs in a single step (GET /code/api/v1/repos/{repo_identifier}/diff-stats/{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.
- How many files and lines changed between two branches?
- Can I get just a summary of changes between commits without the full diff?
Say it to your AI assistant
- Get the diff stats for range {range} in repository {repo}.
- Summarize files and lines changed in {range} of repo {repo}.
For your developer
GET /code/api/v1/repos/{repo_identifier}/diff-stats/{range} in Harness Repository API. Full spec on APIs.io.