Compare two commits using Azure Devops api and get response in `.diff` format

Copper Contributor

I want to compare two commits in Azure DevOps and get the response in git .diff format.

I tried the APIs listed in doc

But it only returns the diff in JSON format.

How can I get the data in the git diff format?

0 Replies