summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-08-15 11:55:01 -0700
committerSamy Pessé <samypesse@gmail.com>2014-08-15 11:55:01 -0700
commit402e88f8663efaa48d619a7831daef0db0398f82 (patch)
tree88150de7d82c688b9ba52493e36ec3c294f0f548
parentd216661f2743385ea760b9993fdd46968e37ee42 (diff)
downloadgitbook-402e88f8663efaa48d619a7831daef0db0398f82.zip
gitbook-402e88f8663efaa48d619a7831daef0db0398f82.tar.gz
gitbook-402e88f8663efaa48d619a7831daef0db0398f82.tar.bz2
Add best practices for .gitignore
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index b9625db..325e89c 100644
--- a/README.md
+++ b/README.md
@@ -176,7 +176,9 @@ You can see a complete example with the [Learn Git](https://github.com/GitbookIO
#### Ignoring files & folders
-GitBook will read the `.gitignore`, `.bookignore` and `.ignore` files to get a list of files and folders to skip. (The format inside those files follows the same convention as `.gitignore`)
+GitBook will read the `.gitignore`, `.bookignore` and `.ignore` files to get a list of files and folders to skip. (The format inside those files follows the same convention as `.gitignore`).
+
+Best practices for the `.gitignore` is to ignore build files from [**node.js**](https://github.com/github/gitignore/blob/master/Node.gitignore) (`node_modules`, ...) and build files from GitBook: `_book`, `*.epub`, `*.mobi` and `*.pdf`.
#### Cover