Re: Way to "impersonate" remote or sync remotes without fetching everything?
- From
D. Ben Knoble <ben.knoble@gmail.com>
- Date
- Apr 14, 2025, 19:40 UTC
- Message-ID
- <CALnO6CCsyF0w6jP+Xk+qQZCW-r_004b5_80XzsPLH2n7fnogsg@mail.gmail.com>
- In-Reply-To
- <351a6036-3bac-43f4-88b0-cd52240312cd@frank.fyi>
On Mon, Apr 14, 2025 at 11:44 AM Klaus Frank <vger.kernel.org@frank.fyi> wrote:
Show 11 quoted lines
> > On 2025-04-13 23:52:14, D. Ben Knoble wrote: > > That all makes sense, except: why need the sync (cron) job? Treat a > > local copy as authoritative for you and push to all your remotes. This > > puts you in control at the cost of not happening automatically. (You > > could conceivably have a local cron job that did this.) > > Cause I don't want to have it locally on e.g. a notebook that can break > mainly :D > (I know myself I won't be making enough backups if that is their primary > location)
If you push to other remotes (or cron, as below), then you'll have "backups for free"?
Show 6 quoted lines
> > But I have been thinking about something similar earlier today. Maybe I > should just > trash my software forge (gitlab) and just use git from the cli via ssh. > Then writing a cron job to do the syncing would also be easier as I'd have > a local copy to work with
[…]
-- D. Ben Knoble