diff --git a/.gitignore b/.gitignore
index 20dce5c3b9e0f2c124db43c2620c8c1dc0404569..22984d22d29ead2a9ab8ecb4ad768229c285cf02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,7 @@
 # subdirectories here. Add them in the ".gitignore" file
 # in that subdirectory instead.
 #
-# NOTE! Please use 'git ls-files -i --exclude-standard'
+# NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
 # command after changing this file, to see if there are
 # any tracked files which get ignored after the change.
 #