It is necessary to obtain a list of changed files, while displaying only those that match the existing ones.
There is a command with parameters: git log --name-only , which lists the modified files, but there are a lot of them. I have my own list of files (tables, packages, etc.), can I somehow compare them, so that ultimately only those objects that match when compared are displayed?
moved from comment:
I work in ms / windows using GIT BASH.
In this case, you need to show Oracla objects, such as view, tables, packages. For example, the output of the command
git log --name-only shows the author of the commit, the date, the comment and the file itself with the path
rollback/oracle/scheme/tables/T_COL_NAMES.sql rollback/oracle/scheme/tables/T_NUM_VAL.sql Objects (parts of the file name) are: T_COL_NAMES and T_NUM_VAL , and there are a lot of such. But I have a list of mine. Suppose my object is T_NUM_VAL .
How can I set my objects (part of the file name) so that the team will output only them and weed out the rest?
git statuscommand is being searched. possibly with the--untracked-files=nooption. // but still it is better to specify the question. An example of some lead that is required. - aleksandr barakin