Help: add

hg add [OPTION]... [FILE]...

add the specified files on the next commit

    Schedule files to be version controlled and added to the repository.

    The files will be added to the repository at the next commit. To undo an
    add before that, see "hg forget".

    If no names are given, add all files to the repository.

    Returns 0 if all files are successfully added.


 -I --include PATTERN [+] include names matching the given patterns
 -X --exclude PATTERN [+] exclude names matching the given patterns
 -S --subrepos            recurse into subrepositories
 -n --dry-run             do not perform actions, just print output

[+] marked option can be specified multiple times

use "hg -v help add" to show more info