diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-08-15 11:55:01 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-08-15 11:55:01 -0700 |
commit | 402e88f8663efaa48d619a7831daef0db0398f82 (patch) | |
tree | 88150de7d82c688b9ba52493e36ec3c294f0f548 | |
parent | d216661f2743385ea760b9993fdd46968e37ee42 (diff) | |
download | gitbook-402e88f8663efaa48d619a7831daef0db0398f82.zip gitbook-402e88f8663efaa48d619a7831daef0db0398f82.tar.gz gitbook-402e88f8663efaa48d619a7831daef0db0398f82.tar.bz2 |
Add best practices for .gitignore
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |