git - how to see changed lines of code between 2 branches for specific file type? -


I want to create a metric that shows the "changed" line of "bug" per code between two versions (my Branches in GIT in case).

Because there are so many SFF files in our application, I do not need to count the files of those SFF and I have to rely on Java, XML and so on.

Is there any device that he does? Or a git command like git diff --stat for a specific file type?

  git diff --stat branch1..branch2 - ' * .java '* * .xml'   

Work for you?

This does for me, but *. C and *. H with

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -