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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -