hg add

Adds specified files to the staging area for the next commit in Mercurial. More information: https://www.mercurial-scm.org/doc/hg.1.html#add.

hg add {{path/to/file}}

hg add {{[-I|--include]}} {{pattern}}

hg add {{[-X|--exclude]}} {{pattern}}

hg add {{[-S|--subrepos]}}

hg add {{[-n|--dry-run]}}