Mercurial: Globally Ignore Files
Solution 1:
You can add a path to a global or per-user ignore file in the [ui]
section of your global/user hgrc
or Mercurial.ini
:
[ui]
ignore = ~/.hgignore
On Windows:
[ui]
ignore = %USERPROFILE%\.hgignore
Solution 2:
In powershell, you can get to your global files like this.
PS> notepad $env:userprofile/mercurial.ini
...
[ui]
ignore = %USERPROFILE%\.hgignore
...
PS> notepad $env:userprofile/.hgignore
/bin/
/obj/