rm¶
Command equivalent to git rm hence many git rm options are also valid options for this command.
Add files in working tree and process-stage. Following actions are performed:
Refresh working-tree.
Take snapshot.
Process names of supplied files (except for .) and send for remove to process-stage.
usage: enc rm [-h] [-v | -q] [-n] files_or_globs [files_or_globs ...]
Positional Arguments¶
- files_or_globs
File/Files to remove. This is a required argument and single or multiple files can be provided as value for this argument. Behaves similar to git rm <pathspec> and the <pathspec> will be passed down to git rm command. ‘.’ is not yet supported.
Named Arguments¶
- -v, --verbose
- Specify verbosity level as -v, -vv or -vvv.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on the verbosity of logs use: -v to show INFO logs additionally. -vv to show INFO and DEBUG logs additionally. -vvv to show INFO, DEBUG and TRACE logs, this level also enables exception tracebacks.
- -q, --quiet
- Quiet logs as -q, -qq or -qqq.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on quietness of logs use: -q to Disable VCS (git) or OS call command logs and WARNINGS; ERROR and FATAL will still show. -qq to Additionally disable ERRORS; FATAL logs will still show. -qqq to Disable full logging.
- -n, --dry-run
Only process the files and do not remove from the index.
Default:
False
Must be run from from the working-tree repo root.