Fetch remote only if remote hasn't been fetched recently
- From
M Hickford <mirth.hickford@gmail.com>
- Date
- Jun 5, 2025, 11:16 UTC
- Message-ID
- <CAGJzqskDumbMSbC3rdYT8fZ8gNJ5MOjR_o8RAo9QS-nuvbBinQ@mail.gmail.com>
- In-Reply-To
- <CAGJzqs=kJtPcMrWC8Dayd+VW7BvC1rmzS0zT+EwQXfLOpZ3Tfg@mail.gmail.com>
Hi. I'd like to fetch from a particular remote, but only if that remote hasn't been fetched in the last hour. How could I achieve this? Is there a relevant option for `git fetch`?
https://git-scm.com/docs/git-fetch