diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-04-23 23:17:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-23 23:17:43 -0700 |
commit | e25cc817fa321686ae71fda302e172bf9ca8f04a (patch) | |
tree | 1ab6d795892450a41ab9911cdab106aaa3ba079f /gitattributes.html | |
parent | 52a094d73a03abe677880d74fe3ec08f73583aa7 (diff) | |
download | git-htmldocs-e25cc817fa321686ae71fda302e172bf9ca8f04a.tar.gz |
Autogenerated HTML docs for v2.13.0-rc0-45-ge2cb6ab
Diffstat (limited to 'gitattributes.html')
-rw-r--r-- | gitattributes.html | 8 |
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" >.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>
|