1.1. UI Section

At the very minimum, you need to define your user name and email address, which identifies you:

username = Joe Bloggs <joe@bloggs.com>

Also in this section, you’re likely to want to define a global ignore list, so that you don’t have to configure ignored files per repository. For example:

username = Joe Bloggs <joe@bloggs.com>

So here (on Windows) I’m referencing an ignore list file I’ve created at c:\hgignore_global.txt. A pretty good start for a global ignore list might look like this:

syntax: glob


You can obviously add more elements to that if you wish.