update-repos/README.md

28 lines
1,008 B
Markdown

# update-repos
#### Update all repositories under a given directory up to a specified depth.
Usage: update-repos [options] [<repo-dir>]
-alive-check
Check if remote is alive, don't update or alter any state
-atomic-fetch
Use an atomic transaction to update local refs
-backoff-strategy value
back-off strategy for retries (none, linear, fibonacci, exponential) (default linear)
-force
force update on diverging history
-initial-delay duration
initial delay for retries (default 500ms)
-log-level string
set log level (debug, info, warn, error, fatal, panic) (default "info")
-max-depth uint
maximum search depth for git repositories (default 1)
-max-jobs uint
maximum number of parallel jobs (default 32)
-max-retries uint
maximum number of retries on failure (default 5)
-v be verbose
-verbose
be verbose
-version
program version