Skip to content

Commit

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

Signed-off-by: David Rozé <[email protected]>
  • Loading branch information
david-baylibre committed Aug 23, 2024
1 parent 5a9f5e9 commit 101559e
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.

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

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

* `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 101559e

Please sign in to comment.