capabilities.work

Download a commit's diff or patch

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

Look something up

Download a commit's diff or patch

with Gitea · Software Construction Management

Use Gitea: its Gitea Repository API lets you download a commit's diff or patch in a single step (GET /repos/{owner}/{repo}/git/commits/{sha}.{diffType}). capabilities.work can help you get signed up and connected.

  • Can I download the raw diff or patch file for one commit?
  • What format options exist for exporting a commit's changes?
Say it to your AI assistant
  • Download the {diffType} for commit {sha} in {owner}/{repo}.
  • Get commit {sha} of {owner}/{repo} as a {diffType} file.
For your developer

GET /repos/{owner}/{repo}/git/commits/{sha}.{diffType} in Gitea Repository API. Full spec on APIs.io.