Monday, 15 September 2014

`git shortlog`: Only count commits that have changed cpp files -



`git shortlog`: Only count commits that have changed cpp files -

git shortlog -sne can used email addresses of authors have ever contributed project.

is there similarily fast command counts commits/shows authors have modified actual source files (*.cpp, *.h, *.py, *.cmake)?

just specify paths:

git shortlog -sne -- '*.cpp' '*.h' '*.py' '*.cmake'

quoting necessary prevent shell expanding path names , have git receive * verbatim.

git

No comments:

Post a Comment