# 5.12. Ignore Filter

The ignore dialog is used to maintain your Mercurial repository’s ignore filter, which can be found in an `.hgignore` file in the repository root. The dialog can be launched from the shell context menu, or from the status or commit tools via the context menu of an unknown file. The Glob combo allows to switch between glob or regexp patterns.

Ignore Filter Dialog

## 5.12.1. From command line

The ignore tool can be started from command line:

    thg hgignore [FILE]

    aliases: ignore, filter

    ignore filter editor

    use "thg -v help hgignore" to show global options