send-email: support validate hook
[gitweb.git] / Documentation / gitattributes.txt
index a53d093ca1666e6f84f229f94a3e4b7b1ed6c899..4736483865ee56c3cf23f41985e2064fbef0cfea 100644 (file)
@@ -229,11 +229,9 @@ From a clean working directory:
 
 -------------------------------------------------
 $ echo "* text=auto" >.gitattributes
-$ rm .git/index     # Remove the index to force Git to
-$ git reset         # re-scan the working directory
+$ rm .git/index     # Remove the index to re-scan the working directory
+$ git add .
 $ git status        # Show files that will be normalized
-$ git add -u
-$ git add .gitattributes
 $ git commit -m "Introduce end-of-line normalization"
 -------------------------------------------------