1GROK-FSCK(1) GROK-FSCK(1)
2
3
4
6 GROK-FSCK - Optimize mirrored repositories and check for corruption
7
9 grok-fsck -c /path/to/grokmirror.conf
10
12 Git repositories should be routinely repacked and checked for corrup‐
13 tion. This utility will perform the necessary optimizations and report
14 any problems to the email defined via fsck.report_to ('root' by de‐
15 fault). It should run weekly from cron or from the systemd timer (see
16 contrib).
17
18 Please examine the example grokmirror.conf file for various things you
19 can tweak.
20
22 --version
23 show program's version number and exit
24
25 -h, --help
26 show this help message and exit
27
28 -v, --verbose
29 Be verbose and tell us what you are doing
30
31 -f, --force
32 Force immediate run on all repositories.
33
34 -c CONFIG, --config=CONFIG
35 Location of fsck.conf
36
37 --repack-only
38 Only find and repack repositories that need optimizing
39 (nightly run mode)
40
41 --connectivity
42 (Assumes --force): Run git fsck on all repos, but only check
43 connectivity
44
45 --repack-all-quick
46 (Assumes --force): Do a quick repack of all repos
47
48 --repack-all-full
49 (Assumes --force): Do a full repack of all repos
50
52 • grok-manifest(1)
53
54 • grok-pull(1)
55
56 • git(1)
57
59 Email tools@linux.kernel.org.
60
62 mricon@kernel.org
63
64 License: GPLv3+
65
67 The Linux Foundation and contributors
68
69
70
71
722.0.0 2020-08-14 GROK-FSCK(1)