4 ms·
`git maintenance` does set a crontab. Per the doc, it sets up the following: 0 1-23 * * * "/<path>/git" --exec-path="/<path>" for-each-repo --config=maintena
by glandium 6y ago
`git maintenance` does set a crontab. Per the doc, it sets up the following:
0 1-23 * * * "/<path>/git" --exec-path="/<path>" for-each-repo --config=maintenance.repo maintenance run --schedule=hourly
0 0 * * 1-6 "/<path>/git" --exec-path="/<path>" for-each-repo --config=maintenance.repo maintenance run --schedule=daily
0 0 * * 0 "/<path>/git" --exec-path="/<path>" for-each-repo --config=maintenance.repo maintenance run --schedule=weekly
`git for-each-repo` was a useful addition in 2.30, by the way.
- captn3m0 6y agofor-each-repo looks great, I'm considering moving my karn[0] configuration to this instead. [0]: https://github.com/prydonius/karn https://github.com/prydonius/karn