git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Klaus Frank
Message 6 of 6 in “Way to "impersonate" remote or sync remotes without fetching everything?”
  1. Klaus FrankApr 5, 2025
  2. D. Ben KnobleApr 11, 2025
  3. Klaus FrankApr 11, 2025
  4. D. Ben KnobleApr 13, 2025
  5. Klaus FrankApr 14, 2025
  6. D. Ben KnobleApr 14, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.