summaryrefslogtreecommitdiffstats
path: root/git-update-index.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-01-30 15:21:18 -0800
committerJunio C Hamano <gitster@pobox.com>2020-01-30 15:21:18 -0800
commitbee061d2412e903308bc5c13b81b88fe76b57bcf (patch)
tree11d0a7af62bc4e6691f58982e31dce59c4c3f70a /git-update-index.html
parent29eab9abf58219b768ebdb67a245f995df47c97f (diff)
downloadgit-htmldocs-bee061d2412e903308bc5c13b81b88fe76b57bcf.tar.gz
Autogenerated HTML docs for v2.25.0-114-g5b0ca
Diffstat (limited to 'git-update-index.html')
-rw-r--r--git-update-index.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/git-update-index.html b/git-update-index.html
index b6575aaee..651097096 100644
--- a/git-update-index.html
+++ b/git-update-index.html
@@ -1485,6 +1485,22 @@ ctime for marking files processed) (see <a href="git-config.html">git-config(1)<
</div>
</div>
<div class="sect1">
+<h2 id="_notes">NOTES</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>Users often try to use the assume-unchanged and skip-worktree bits
+to tell Git to ignore changes to files that are tracked. This does not
+work as expected, since Git may still check working tree files against
+the index when performing certain operations. In general, Git does not
+provide a way to ignore changes to tracked files, so alternate solutions
+are recommended.</p></div>
+<div class="paragraph"><p>For example, if the file you want to change is some sort of config file,
+the repository can include a sample config file that can then be copied
+into the ignored name and modified. The repository can even include a
+script to treat the sample file as a template, modifying and copying it
+automatically.</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="git-config.html">git-config(1)</a>,
@@ -1503,7 +1519,7 @@ ctime for marking files processed) (see <a href="git-config.html">git-config(1)<
<div id="footer">
<div id="footer-text">
Last updated
- 2019-12-01 14:55:34 PST
+ 2020-01-30 15:16:48 PST
</div>
</div>
</body>