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 --include pattern
hg add --exclude pattern
hg add --subrepos
hg add --dry-run