System Grab Bag

View all TLDR pages from common (or from all pages)

hg status

Show files that have changed in the working directory. More information: https://www.mercurial-scm.org/doc/hg.1.html#status.
  • Display the status of changed files:
    hg status
  • Display only modified files:
    hg status --modified
  • Display only added files:
    hg status --added
  • Display only removed files:
    hg status --removed
  • Display only deleted (but tracked) files:
    hg status --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 --include {{pattern}}
  • Display files, excluding those that match a specified glob pattern:
    hg status --exclude {{pattern}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.