hg-add
Add specified files to the staging area for the next commit in Mercurial. tldr-pages
On several platforms
Several platforms
Add files or directories to the staging area
hg add path/to/fileIdentifyAdd all unstaged files matching a specified pattern
hg add --include patternIdentifyAdd all unstaged files, excluding those that match a specified pattern
hg add --exclude patternIdentifyRecursively add sub-repositories
hg add --subreposIdentifySimulate adding files without performing any actions
hg add --dry-runIdentify