Skip to content

Commit

Permalink
README: insteadOf option
Browse files Browse the repository at this point in the history
insteadOf option usage example

Signed-off-by: David Rozé <[email protected]>
  • Loading branch information
david-baylibre committed Jul 3, 2024
1 parent 79917a4 commit 034f061
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ Track changes in a [repo](https://gerrit.googlesource.com/git-repo/+/master/#rep
* `jobs`: *Optional.* number of jobs to run in parallel (default: 0; based on number of CPU cores)
Reduce this if you observe network errors.

* `insteadOf`: *Optional.* Any URL that starts with this value will be rewritten with the give value.
Identical to git url insteadOf option.
Example: rewrite http(s):// to git://

```yaml
insteadOf:
"git://": "http://"
"git://": "https://"
```

* `check_jobs`: for check step only: number of jobs to run in parallel (default: jobs\*2,
2 if jobs is undefined).

Expand Down

0 comments on commit 034f061

Please sign in to comment.