Git: Add to .gitignore File

Lets you mark a file, or a pattern that identifies common file names, as content that Git should ignore.

Often, a directory contains files that should not be kept under version control. For example, log files from a debug or batch operation do not need to be tracked or merged, yet they are often in the same directory as the shared code for a project. Such files should be marked to be ignored by Git.

Related Topics

Using Versioning