From 0866b1b21c5acaa7988e0f21efb8ea086a6c439a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 2 Feb 2016 16:53:29 -0400 Subject: improve --- doc/tips/largefiles.mdwn | 6 ++++-- 1 file 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. -- cgit v1.2.3