X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgitattributes.txt;h=04ca63ca3d8b1c35c849750e66348e42a6b823a0;hb=de451dff15a3404e1c7025ebf72c70e624cf2f5c;hp=84ec9623a26e2c36f7346a430a46a4a4915e0382;hpb=a2de3a17faed90c0a7d35e3f48470549b284c4ec;p=git.git diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt index 84ec9623a..04ca63ca3 100644 --- a/Documentation/gitattributes.txt +++ b/Documentation/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 `!`.