• P03 Locke@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    Mirror a git repo? Do you understand how git works? You clone the repo, and it’s effectively mirrored already, especially for something that doesn’t change much.

    If you want the commits updated, then put git pull in a daily cronjob. Boom! Mirror.

    • Arghblarg@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      10 months ago

      True, every git pull is a ‘mirror’. Bad phrasing on my part. I was thinking more of when I set up my local gogs instance to mirror an outside/upstream git (such as from github), which really is just their term for pulling again automatically every time upstream changes.