LinuxCommandLibrary

hg-status

displays the state of files in the working directory

TLDR

Show all changed files

$ hg status
copy
Show only modified files
$ hg status -m
copy
Show only added files
$ hg status -a
copy
Show untracked files
$ hg status -u
copy
Show changes in specific revision
$ hg status --change [rev]
copy
Show clean files
$ hg status -c
copy

SYNOPSIS

hg status [options] [file...]

DESCRIPTION

hg status displays the state of files in the working directory. Status codes: M (modified), A (added), R (removed), C (clean), ! (missing), ? (untracked), I (ignored). Use hg diff to see actual content changes.

PARAMETERS

-m, --modified

Show only modified files.
-a, --added
Show only added files.
-r, --removed
Show only removed files.
-d, --deleted
Show only deleted (missing) files.
-c, --clean
Show only clean (unchanged) files.
-u, --unknown
Show only untracked files.
--change rev
Show changes in revision.

SEE ALSO

hg(1), hg-diff(1), hg-commit(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community