logoalt Hacker News

augusto-moura • today at 1:54 AM • 0 replies • view on HN

Nice moment to hook the git-maintenance[1] command, which setups automatic pre-fetching of a repository in a scheduled manner. That way you don't need to remember to manually update your mirrors. Since the repo is public, cloning with https is a simpler setup for prefetching, but ssh is also supported with some configuring.

Edit: wrong link

[1]: https://git-scm.com/docs/git-maintenance