Merge branch 'jk/trailers-parse' into next
[gitweb.git] / Documentation / gitattributes.txt
index 4049a0b9a838b467337ced4cc9437fef0062e606..c4f2be2542d1fcd417c69596dafdf89bc3a93f00 100644 (file)
@@ -229,7 +229,7 @@ From a clean working directory:
 
 -------------------------------------------------
 $ echo "* text=auto" >.gitattributes
-$ rm .git/index     # Remove the index to re-scan the working directory
+$ git read-tree --empty   # Clean index, force re-scan of working directory
 $ git add .
 $ git status        # Show files that will be normalized
 $ git commit -m "Introduce end-of-line normalization"