git: show hidden tracked files
PATCH 1/1 git: show hidden tracked files
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
--- .gitignore | 5 +++++ 1 file changed, 5 insertions(+)
.gitignore +5 -0
@@ -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
Signature · 1 line
2.46.0
Quoted 10 lines · On Thu, 17 Oct 2024 17:15:03 +0200 Thomas Monjalon <[email protected]> wrote:
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.rejSigned-off-by Thomas Monjalon <[email protected]>
Thomas Monjalon
Applied17/10/2024 18:26, Stephen Hemminger:
Quoted 6 lines
Quoted 3 lines · On Thu, 17 Oct 2024 17:15:03 +0200 Thomas Monjalon <[email protected]> wrote:
The hidden files are not considered because of the first rule in .gitignore file.
Quoted 8 lines
Quoted 7 lines
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.rejSigned-off-by Thomas Monjalon <[email protected]>
Applied