its pretty simple to find all the commits containing a particular file.
git log -- .\Database\Tables\sometable.sql
but is there a simple way to find all the commits for a file type (recursively down child directories?) or will I need to write a script to do this?
(conceptually...)
git log -- .\Database\*.sql --recursive
It appears that perhaps you just need to escape the
*
so that it doesn't get expanded by the command line. It would seem that you are on Windows so... but I am on Linux and tested like so:The result on the last
git log
is:On the Windows escaping of
*
... perhaps put it in either single or double quotes? I'll add if I figure something out.