summaryrefslogtreecommitdiffstats
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-03-27 23:49:50 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-03-27 23:49:50 +0000
commit99dc24aa91d13a2c3a1e8d7789b6d57fdb42f750 (patch)
tree2d244e215911a0db5dbc769caede7c41e05f3427 /gitattributes.txt
parenta14a4031ea339f7f644448239c46721a30c47b9e (diff)
downloadgit-htmldocs-99dc24aa91d13a2c3a1e8d7789b6d57fdb42f750.tar.gz
Autogenerated HTML docs for v1.5.5-rc1-22-g17689
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
index 84ec9623a..04ca63ca3 100644
--- a/gitattributes.txt
+++ b/gitattributes.txt
@@ -63,6 +63,13 @@ path in question, and its parent directories (the further the
directory that contains `.gitattributes` is from the path in
question, the lower its precedence).
+If you wish to affect only a single repository (i.e., to assign
+attributes to files that are particular to one user's workflow), then
+attributes should be placed in the `$GIT_DIR/info/attributes` file.
+Attributes which should be version-controlled and distributed to other
+repositories (i.e., attributes of interest to all users) should go into
+`.gitattributes` files.
+
Sometimes you would need to override an setting of an attribute
for a path to `unspecified` state. This can be done by listing
the name of the attribute prefixed with an exclamation point `!`.