edits
[tools.git] / doc / misc.md
Maxious 1 [HTML5 Boilerplate homepage](http://html5boilerplate.com) | [Documentation table of contents](README.md)
2
3 # Miscellaneous
4
5 ## .gitignore
6
7 HTML5 Boilerplate includes a basic project-level `.gitignore`. This should
8 primarily be used to avoid certain project-level files and directories from
9 being kept under source control. Different development-environments will
10 benefit from different collections of ignores.
11
12 OS-specific and editor-specific files should be ignored using a "global
13 ignore" that applies to all repositories on your system.
14
15 For example, add the following to your `~/.gitconfig`, where the `.gitignore`
16 in your HOME directory contains the files and directories you'd like to
17 globally ignore:
18
19 ```gitignore
20 [core]
21 excludesfile = ~/.gitignore
22 ```
23
24 * More on global ignores: http://help.github.com/ignore-files/
25 * Comprehensive set of ignores on GitHub: https://github.com/github/gitignore
26