Do you have any tool to help with that? Ive set this up in the past, but it was pretty hands-on namespacing to get it to work rootless.
Edit: For completeness, here is a script similar to what I use.
Do you have any tool to help with that? Ive set this up in the past, but it was pretty hands-on namespacing to get it to work rootless.
Edit: For completeness, here is a script similar to what I use.
It does (not sure how well), but it seems to be a paid feature. Found under Settings -> Split tunneling.


The really simple setup for a single user is just a SSH server with access to storage and the git command. Assuming your laptop and desktop have SSH access to server, you can just:
ssh server git init --bare somerepo
cd somerepo
git remote add server server:somerepo
git push --set-upstream somerepo master #(or main)
and then git clone server:somerepo.
For something slightly higher-tech, I recommend going with Forgejo (the fork of Gitea). It is really easy to set up and low maintainance.
Avoid GitLab for small setups, it is fairly resource hungry.
I found it in the settings:
Under “Features”: