diff --git a/doc/ci/yaml/index.md b/doc/ci/yaml/index.md
index b8457477c34c5b34f694adb3f9c78374a317fd8d..6e6bb68894e2c4a4c7f20315881e73a56bf08c1f 100644
--- a/doc/ci/yaml/index.md
+++ b/doc/ci/yaml/index.md
@@ -1148,6 +1148,10 @@ rspec:
       - .config
 ```
 
+**Additional details**:
+
+- The `cache:paths` keyword includes files even if they are untracked or in your `.gitignore` file.
+
 **Related topics**:
 
 - See the [common `cache` use cases](../caching/index.md#common-use-cases-for-caches) for more