Skip to content

Commit

Permalink
Fix .gitignore issue with not showing new files
Browse files Browse the repository at this point in the history
This patch will fix the .gitignore issue where it
didnt show new files created inside non-ignored folders.

Tests Done: Create new file inside caas and see it it
shows in git status

Tracked-On: OAM-126628
Signed-off-by: Tanuj Tekriwal <[email protected]>
Signed-off-by: Vignesh T Prabhu <[email protected]>
  • Loading branch information
tanujtekriwal authored and sysopenci committed Oct 23, 2024
1 parent 1056d28 commit 563799f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
*
# Ignore all files at the current directory level
/*
# Allow subdirectories and their contents
!*/
# Allow all files within existing subdirectories
!*/**
# Ignore any new directories created at the root level
/*/
!.gitignore
!README
!LICENSE
!caas
5 changes: 5 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Important Notice ###

# Any new file or folder added in device/intel/project-celadon
# needs to be added to the device/intel/common/project-celadon/.gitignore
# file as others are added to be visible for git repo.

0 comments on commit 563799f

Please sign in to comment.