diff --git a/.gitignore b/.gitignore
index 110302734953a65f823713dda57f4f2f53b23a9c..879ebec581cc7317293c4220a208bc752949cd5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,8 +9,8 @@ __pycache__/
 .pytest_cache
 .cache
 pytest_collaterals/
-examples/ncf/run/
-examples/ncf/ml-20m*
+examples/ncf*/run/
+examples/ncf*/ml-20m*
 
 # GNMT sample
 examples/GNMT/data