From 402e88f8663efaa48d619a7831daef0db0398f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Fri, 15 Aug 2014 11:55:01 -0700 Subject: [PATCH] Add best practices for .gitignore --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9625db84..325e89cfb 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