4 ms·
I used to use a personal git server but the possible security issues and/or making the entire server vulnerable scared me away from it. Instead, I simply use ba
by aigoota 6y ago
I used to use a personal git server but the possible security issues and/or making the entire server vulnerable scared me away from it. Instead, I simply use bare git repos on the server and the server is only accessible via ssh/private key. I can simply fetch/push my repos directly. There's really no need for a frontend...
- moehm 6y agoYou interact with Gitolite via ssh. The things Gitolite makes easier for you is it generate those repos for you (no need to login, just push a config file) and it handles access via ssh keys. I for instance have an own key for my phone, so I can access the repo with my notes etc, but if you steal my phone you cannot push any code.
- brobdingnagians 6y agoI do the same. There are plenty of tools for local analysis and visualization of git repos; I finder it better to use those as appropriate and just use bare repos cloned from the server.
- alexhutcheson 6y agoAnother option is to run a web GUI like cgit, gitweb, Gitea, or Gogs without exposing it to the internet (so it's only accessible at http://localhost:8888 http://localhost:8888 or similar). When you want to view it from another machine you can just use SSH port forwarding, like: ssh -L 8888:localhost:8888 user@hostname
- deleted 6y ago[deleted]