Skip to content

Commit

Permalink
git: ignore hidden files / directories
Browse files Browse the repository at this point in the history
Similar to what is done in the Linux kernel: very likely, hidden files
and directories don't need to be tracked in git. There are exceptions
of course, like the '.github' directory, but we can always force their
inclusions with 'git add -f'.

This will at least ignore the '.cache' directory created by clangd.
Editors tend to create hidden directories and files too, so that would
cover that too.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Oct 9, 2024
1 parent 74615d6 commit b7c9841
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.*
*.o
*.lo
*.la
Expand Down

0 comments on commit b7c9841

Please sign in to comment.