summaryrefslogtreecommitdiffstats
path: root/gitattributes.html
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.html
parent52a094d73a03abe677880d74fe3ec08f73583aa7 (diff)
downloadgit-htmldocs-e25cc817fa321686ae71fda302e172bf9ca8f04a.tar.gz
Autogenerated HTML docs for v2.13.0-rc0-45-ge2cb6ab
Diffstat (limited to 'gitattributes.html')
-rw-r--r--gitattributes.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/gitattributes.html b/gitattributes.html
index 1b0185ea5..dc42a2c1f 100644
--- a/gitattributes.html
+++ b/gitattributes.html
@@ -1002,11 +1002,9 @@ containing CRLFs should be normalized.</td>
<div class="listingblock">
<div class="content">
<pre><code>$ echo "* text=auto" &gt;.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"</code></pre>
</div></div>
<div class="paragraph"><p>If any files that should not be normalized show up in <em>git status</em>,
@@ -2016,7 +2014,7 @@ frotz unspecified</code></pre>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-02-27 15:37:25 PST
+Last updated 2017-04-23 23:17:27 PDT
</div>
</div>
</body>