OLD | NEW |
(Empty) | |
| 1 git-retry(1) |
| 2 ============= |
| 3 |
| 4 NAME |
| 5 ---- |
| 6 git-retry - |
| 7 include::_git-retry_desc.helper.txt[] |
| 8 |
| 9 SYNOPSIS |
| 10 -------- |
| 11 [verse] |
| 12 'git retry' [-v] [-c COUNT] [-d DELAY] [-e] -- _<git_subcommand>_ |
| 13 |
| 14 DESCRIPTION |
| 15 ----------- |
| 16 |
| 17 `git retry` is a bootstrap that wraps a standard `git` command execution in |
| 18 a fault-tolerant retry wrapper. |
| 19 |
| 20 If a retry succeeds, the return code of the successful attempt is returned. |
| 21 Otherwise, the return code of the last failed attempt is returned. |
| 22 |
| 23 The wrapper is aware of `git`-specific failure conditions and will only consider |
| 24 retrying if a given failure can be linked to such a condition. |
| 25 |
| 26 |
| 27 OPTIONS |
| 28 ------- |
| 29 |
| 30 <git_subcommand>:: |
| 31 The `git` command to retry. This should omit the actual `git` command (e.g., |
| 32 to retry `git clone`, use `git retry clone`). |
| 33 |
| 34 -v, --verbose:: |
| 35 Increases logging verbosity. By default, no additional logging is generated |
| 36 by the `git retry` command. This can be specified multiple times. |
| 37 |
| 38 -c, --retry-count _count_:: |
| 39 Specify the number of retries that should be performed before giving up. |
| 40 |
| 41 -d, --delay _seconds_:: |
| 42 If specified, the time delta to wait in between retry attempts. By default, |
| 43 retries will happen immediately after failures. This can be used to introduce |
| 44 a delay. |
| 45 |
| 46 -e, --delay-exponential:: |
| 47 If specified, the retry delay will double with each retry. Note that if no |
| 48 delay is specified, this will have no effect. |
| 49 |
| 50 |
| 51 EXIT STATUS |
| 52 ----------- |
| 53 |
| 54 Upon success, `git retry` will exit with the successful exit code of *0*. On |
| 55 failure, it will exit with the exit code of the last failed attempt. |
| 56 |
| 57 |
| 58 include::_footer.txt[] |
| 59 |
| 60 // vim: ft=asciidoc: |
OLD | NEW |