Skip to content

Commit

Permalink
git: show hidden tracked files
Browse files Browse the repository at this point in the history
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 <thomas@monjalon.net>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
  • Loading branch information
tmonjalo committed Nov 11, 2024
1 parent b472c50 commit 58ae3be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 58ae3be

Please sign in to comment.