add --dry-run: New option
This is intended for users who want to see what it would output in order to eg, check if a file would be added to git or the annex. It is not intended as a way for scripts to get information. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
e005bd6f98
commit
3a513cfe73
10 changed files with 78 additions and 27 deletions
|
@ -77,6 +77,10 @@ annexed content, and other symlinks.
|
|||
Like `git add --update`, this does not add new files, but any updates
|
||||
to tracked files will be added to the index.
|
||||
|
||||
* `--dry-run`
|
||||
|
||||
Output what would be done for each file, but avoid making any changes.
|
||||
|
||||
* `--json`
|
||||
|
||||
Enable JSON output. This is intended to be parsed by programs that use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue