diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-02 16:53:29 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-02 16:53:29 -0400 |
commit | 0866b1b21c5acaa7988e0f21efb8ea086a6c439a (patch) | |
tree | 9a45faf99c187df54223e58d554aa584091d1a80 /doc/tips | |
parent | 98475acf860d33e0482c37a68eca9e65aaadf986 (diff) |
improve
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/largefiles.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/tips/largefiles.mdwn b/doc/tips/largefiles.mdwn index 46e153399..ec51ecf66 100644 --- a/doc/tips/largefiles.mdwn +++ b/doc/tips/largefiles.mdwn @@ -17,10 +17,12 @@ also used by `git annex addurl` and `git annex importfeed` when downloading files. When a file does not match annex.largefiles, these commands will add its content to git instead of to the annex. +This saves you the bother of keeping things straight when adding files. + ## examples For example, let's make only files larger than 100 kb be added to the annex, -and never *.c and *.h source files. +and never `*.c` and `*.h` source code files. Write this to the `.gitattributes` file: @@ -40,7 +42,7 @@ checkouts behave differently. The git configuration overrides the ## syntax -The way the `.gitattributes` example above works is, *.c and *.h files +The way the `.gitattributes` example above works is, `*.c` and `*.h` files have the annex.largefiles attribute set to "nothing", which matches nothing, and so those files are never treated as large files. All other files use the other value, which checks the file size. |