Sha256: 580c7bfe64375a875b74d33ebb596f62ca98047b789377ff75d4ef554a08af80

Contents?: true

Size: 1.89 KB

Versions: 21

Compression:

Stored size: 1.89 KB

Contents

git-retry(1)
=============

NAME
----
git-retry -
include::_git-retry_desc.helper.txt[]

SYNOPSIS
--------
[verse]
'git retry' [-v] [-c COUNT] [-d DELAY] [-e] -- _<git_subcommand>_

DESCRIPTION
-----------

`git retry` is a bootstrap that wraps a standard `git` command execution in
a fault-tolerant retry wrapper.

If a retry succeeds, the return code of the successful attempt is returned.
Otherwise, the return code of the last failed attempt is returned.

The wrapper is aware of `git`-specific failure conditions and will only consider
retrying if a given failure can be linked to such a condition.


OPTIONS
-------

<git_subcommand>::
  The `git` command to retry. This should omit the actual `git` command (e.g.,
  to retry `git clone`, use `git retry clone`).

-v, --verbose::
  Increases logging verbosity. By default, no additional logging is generated
  by the `git retry` command. This can be specified multiple times.

-c, --retry-count _count_::
  Specify the number of retries that should be performed before giving up. The
  default retry count is *5*.

-d, --delay _seconds_::
  Floating-point value that specifies the amount of time (in seconds) to wait
  after a failure. This can be zero to specify no delay. The default delay is
  *3 seconds*.

-D, --delay-factor::
  The exponential factor to apply to the delay. By default this is *2*.
  For a given retry round *n*, the delay for that round will be
  *(<delay-factor>^(n-1) * delay)*. If no delay is specified, this will have
  no effect.
  If the delay factor is *0*, the delay will increase linearly (for a given
  retry round *n*, the delay will be *(n * delay)*).

    (Note that a delay factor of *1* will result in a constant delay.)


EXIT STATUS
-----------

Upon success, `git retry` will exit with the successful exit code of *0*. On
failure, it will exit with the exit code of the last failed attempt.


include::_footer.txt[]

// vim: ft=asciidoc:

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
libv8-5.3.332.38.5 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.4 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.3 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.2 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.1 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.0 vendor/depot_tools/man/src/git-retry.txt
libv8-5.3.332.38.0beta2 vendor/depot_tools/man/src/git-retry.txt
libv8-5.2.361.43.1 vendor/depot_tools/man/src/git-retry.txt
libv8-5.2.361.43.0 vendor/depot_tools/man/src/git-retry.txt
libv8-5.1.281.59.1 vendor/depot_tools/man/src/git-retry.txt
libv8-5.1.281.59.0 vendor/depot_tools/man/src/git-retry.txt
libv8-5.1.281.59.0beta3 vendor/depot_tools/man/src/git-retry.txt
libv8-5.0.71.48.3 vendor/depot_tools/man/src/git-retry.txt
libv8-5.0.71.48.2 vendor/depot_tools/man/src/git-retry.txt
libv8-5.0.71.48.0beta2 vendor/depot_tools/man/src/git-retry.txt
libv8-4.5.95.5 vendor/depot_tools/man/src/git-retry.txt
libv8-4.5.95.4 vendor/depot_tools/man/src/git-retry.txt
libv8-4.5.95.3 vendor/depot_tools/man/src/git-retry.txt
libv8-4.5.95.2 vendor/depot_tools/man/src/git-retry.txt
libv8-4.5.95.1 vendor/depot_tools/man/src/git-retry.txt