mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
hg-status: add page (#2847)
This commit is contained in:
parent
fa21dc0a07
commit
ad348f3ee1
36
pages/common/hg-status.md
Normal file
36
pages/common/hg-status.md
Normal file
@ -0,0 +1,36 @@
|
||||
# hg status
|
||||
|
||||
> Show files that have changed in the working directory.
|
||||
> Homepage: <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}}`
|
Loading…
Reference in New Issue
Block a user