summaryrefslogtreecommitdiffstats
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-23 23:17:43 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-23 23:17:43 -0700
commite25cc817fa321686ae71fda302e172bf9ca8f04a (patch)
tree1ab6d795892450a41ab9911cdab106aaa3ba079f /gitattributes.txt
parent52a094d73a03abe677880d74fe3ec08f73583aa7 (diff)
downloadgit-htmldocs-e25cc817fa321686ae71fda302e172bf9ca8f04a.tar.gz
Autogenerated HTML docs for v2.13.0-rc0-45-ge2cb6ab
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
index a53d093ca..473648386 100644
--- a/gitattributes.txt
+++ b/gitattributes.txt
@@ -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"
-------------------------------------------------