The .hgignore file is used to configure the Mercurial SCM to ignore specific files or file extensions, excluding them from a repository.
In the mercurial version-control system, the .hgignore
file is used to configure the SCM to ignore specific files or file extensions, excluding them from a repository.
For questions that are specific to Mercurial's ignore mechanism, such as .hgignore
syntax, use this tag. For VCS-agnostic questions, such as whether certain types of files should be checked into source control, use ignore.