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 committed Oct 22, 2024
1 parent 1056d28 commit 367ade4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
*
# 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
!LICENSE
!caas

0 comments on commit 367ade4

Please sign in to comment.