Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion content/docs/command-reference/data/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ usage: dvc data status [-h] [-q | -v]
[--granular] [--unchanged]
[--untracked-files [{no,all}]]
[--json]
[--not-in-remote] [--no-remote-refresh]
[--not-in-remote] [--no-remote-refresh] [--respect-no-push]
```

## Description
Expand Down Expand Up @@ -102,6 +102,8 @@ default but this can be enabled with the `--granular` flag.
- `--no-remote-refresh` - use cached <abbr>remote</abbr> index (don't check
remote). Only has an effect along with `--not-in-remote`.

- `--respect-no-push` - do not include outputs of stages in <abbr>data pipelines</abbr> where `push: false` in the _not in remote_ section.

- `--json` - prints the command's output in easily parsable JSON format, instead
of a human-readable output.

Expand Down Expand Up @@ -200,6 +202,12 @@ Now there's more information in _DVC committed changes_ regarding the changes in

## Example: Remote status

<admon type="tip">

For stages with outputs where `push: false`, setting `--respect-no-push` will remove these files from _Not in remote_.

</admon>

```cli
$ dvc data status --not-in-remote
Not in cache:
Expand Down