commands.sh

hg status

all

Show files that have changed in the working directory.

More info →

Options (6)

-m, --modifiedboolean

Display only modified files

Example: hg status {{[-m|--modified]}}
-a, --addedboolean

Display only added files

Example: hg status {{[-a|--added]}}
-r, --removedboolean

Display only removed files

Example: hg status {{[-r|--removed]}}
-d, --deletedboolean

Display only deleted (but tracked) files

Example: hg status {{[-d|--deleted]}}
-I, --includeboolean

Display only files matching a specified glob pattern

Example: hg status {{[-I|--include]}} {{pattern}}
-X, --excludeboolean

Display files, excluding those that match a specified glob pattern

Example: hg status {{[-X|--exclude]}} {{pattern}}

Examples (8)

Display the status of changed files

Display only modified files

hg status [-m|--modified]

Display only added files

hg status [-a|--added]

Display only removed files

hg status [-r|--removed]

Display only deleted (but tracked) files

hg status [-d|--deleted]

Display changes in the working directory compared to a specified changeset

hg status --rev revision

Display only files matching a specified glob pattern

hg status [-I|--include] pattern

Display files, excluding those that match a specified glob pattern

hg status [-X|--exclude] pattern
made by @shridhargupta | data from tldr-pages