• P03 Locke
    link
    fedilink
    English
    22 years 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
      link
      fedilink
      English
      1
      edit-2
      2 years 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.