I’ve been recently dabbling on rust, and I am have been mostly doing that on my laptop. However, I also have a desktop and once in a while I would like to resume my stuff from the laptop, but without manual file transfers.

I know git by design does this, but I would like to use my current docker setup with Ubuntu server to have a very simple git server.

What would be the simplest git server to have in this situation? Keep in mind I am not planning to expose none of this to the internet

  • Spooky Mulder@twun.io
    link
    fedilink
    English
    arrow-up
    19
    ·
    7 hours ago

    SSH is all you need. You can clone directly from one .git directory to another.

    e.g

    git remote add desktop git@desktop:project/.git
    git push desktop main --set-upstream