Skip to content

Commit

Permalink
command-reference/update: add docs for new --rev option
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgooz committed Jan 2, 2020
1 parent d5b1996 commit 99bd5b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion static/docs/command-reference/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repositories</abbr>, and corresponding
## Synopsis

```usage
usage: dvc update [-h] [-q | -v] targets [targets ...]
usage: dvc update [-h] [-q | -v] [--rev [REV]] targets [targets ...]
positional arguments:
targets DVC-files to update.
Expand Down Expand Up @@ -39,6 +39,12 @@ to learn how to "update" fixed-revision imports.

## Options

- `--rev` - specific
[Git revision](https://git-scm.com/book/en/v2/Git-Internals-Git-References)
(such as a branch name, a tag, or a commit hash) of the DVC repository to
update the data from. Repository's revision formed by the first import is used
by default when this option is not specified.

- `-h`, `--help` - prints the usage/help message, and exit.

- `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no
Expand Down

0 comments on commit 99bd5b9

Please sign in to comment.