File that determines what type of files should not be under GIT source control.
You can have multiple .gitignore files in your tree. The rules will apply to all child folders from where .gitignore resides. And .gitignore rules are add on from .gitignore files that are higher up the folder hierarchy.
Example ignore syntax file extension
# Compiled Dynamic libraries*.so*.dylib*.dll# Ignore directory in all subdirectories that matchnode_modules
Further notes
Ignore Directory
Ignore Directory
In all subdirectories
Ignore Directory In All Subdirectories from .gitignore
Syntax
These syntaxes will ignore directory matches across ALL subdirectories.
dir_ignored
dir_ignored/
**/dir_ignored/
Example:
In the following example ALL files will be ignored, with either of the above syntax.