I
I
iDennis2014-07-11 18:58:51
PHP
iDennis, 2014-07-11 18:58:51

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

1 answer(s)
V
volkhin, 2014-07-11
@iDennis

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 your question

Ask a Question

731 491 924 answers to any question