Categories
GitHub API how to get changes?
I work with the github api, I need to get the last commit , this is understandable, but how to get the number of the deleted / added line?
Answer the question
In order to leave comments, you need to log in
There can be more than one line, just like files. Therefore, the files field of the response and a separate diff for each file. How to get the line number from the dif is clear.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question