Scroll to navigation

GROK-FSCK(1) GROK-FSCK(1)

NAME

GROK-FSCK - Optimize mirrored repositories and check for corruption

SYNOPSIS

grok-fsck -c /path/to/grokmirror.conf


DESCRIPTION

Git repositories should be routinely repacked and checked for corruption. This utility will perform the necessary optimizations and report any problems to the email defined via fsck.report_to ('root' by default). It should run weekly from cron or from the systemd timer (see contrib).

Please examine the example grokmirror.conf file for various things you can tweak.

OPTIONS

show program's version number and exit
show this help message and exit
Be verbose and tell us what you are doing
Force immediate run on all repositories.
Location of fsck.conf
Only find and repack repositories that need optimizing (nightly run mode)
(Assumes --force): Run git fsck on all repos, but only check connectivity
(Assumes --force): Do a quick repack of all repos
(Assumes --force): Do a full repack of all repos



SEE ALSO


SUPPORT

Email tools@linux.kernel.org.

AUTHOR

mricon@kernel.org

License: GPLv3+

COPYRIGHT

The Linux Foundation and contributors

2020-08-14 2.0.0