The hidden files are not considered because of the first rule in .gitignore file.
In order to see changes in the hidden tracked files, they are added in .gitignore as explicit include rules. The derivatives of the first level files are also shown. Example: .mailmap.rej Signed-off-by: Thomas Monjalon <tho...@monjalon.net> --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 01a47a7606..903fe9bc64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ # ignore hidden files .* +# except the tracked ones and derivatives +!.ci/ +!.github/ +!.gitignore* +!.mailmap* # ignore generated documentation tables doc/guides/nics/overview_table.txt -- 2.46.0