• PoolloverNathan@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    6 days ago

    Detach the laptop’s head, then git clone from it over SSH on your build server. When you’re done, git push will update your laptop’s branches, then you can git push origin the relevant branches on your laptop.

      • PoolloverNathan@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        6 days ago

        What network topology do you have? My method only assumes server→laptop connectivity (laptop→server and laptop→repo are implied). If server→laptop is unavailable, but you can install Git in general on the server, you could forward the repo through SSH. If Git cannot be installed server-side at all, this is more difficult, and rsync would be the best method I know of.