Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git diff <from_commit> <to_commit> --name-only

Sudiptasish Chanda October 22, 2020

What is the equivalent REST API of the below command:

git diff <from_commit> <to_commit> --name-only

Here is the use case:

There can be a bunch of files that might have undergone changes between two arbitrary commits, however, user may be interested to know whether a specific file had changed.

The existing bitbucket REST APIs returns a bulky response payload and provide a details of changes. And if the changes are more, then it truncates the response payload. Do you have an API which simply returns ONLY THE FILES that have changed between two commits?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events