From ad348f3ee137241694763cfe0e59fed6a3c72508 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Tue, 26 Mar 2019 10:20:30 +0000 Subject: [PATCH] hg-status: add page (#2847) --- pages/common/hg-status.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/hg-status.md diff --git a/pages/common/hg-status.md b/pages/common/hg-status.md new file mode 100644 index 000000000..350567361 --- /dev/null +++ b/pages/common/hg-status.md @@ -0,0 +1,36 @@ +# hg status + +> Show files that have changed in the working directory. +> Homepage: . + +- 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}}`