summaryrefslogtreecommitdiff
path: root/mirror.1
blob: a7af5b8bbad192f4e7bba45e3303404f33ee3c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.TH mirror 1 "2023-12-28"
.SH NAME
mirror \- copies remote git repositories in bulk
.SH SYNOPSIS
.SY mirror
.RI [ list ]
.SY mirror\ -v
.YS
.SH DESCRIPTION
This script will read
.I list
file for paths to git repositories, clone them in bare mirror mode or update existing mirrors as necessary. If not
provided
.I list
will default to
.B repositories.list
in the current working directory.
.P
With
.B -v
option the script will print version information to standard output and terminate immediately after.
.SH EXIT STATUS
Exit status is zero if all repositories in the list have been mirrored successfully or if
.B -v
option was used. If one or more mirrors fail or an unknown command-line option is provided, a non-zero status is
returned.
.SH SEE ALSO
.BR git (1)