HG(ADD) HG(ADD) (NAME) hg-add - Mercurial (SYNOPSIS) hg add []... []... (DESCRIPTION) . () . hg forget . ( .hgignore ). : o () hg add : $ ls foo.c $ hg status ? foo.c $ hg add adding foo.c $ hg status A foo.c o : $ ls bar.c foo.c $ hg status ? bar.c ? foo.c $ hg add bar.c $ hg status A bar.c ? foo.c 0 . (OPTIONS) -I,--include -X,--exclude -S, --subrepos (subrepositories) -n, --dry-run [+] HG(ADD)