Is it possible to combine both?
Have a simple clone interface for externals and a full git server with SSH for the team?
Is it possible to combine both?
Have a simple clone interface for externals and a full git server with SSH for the team?
yeah, teh simplest, if you call running apache server simple, is git-instaweb https://www.git-scm.com/docs/git-instaweb
i went with legit because it's in Go which means i can fix and change it myself
and i run https://mleku.net right off my mini PC behind my workstation that runs a bitcoin full node
"full git server" btw just means having SSH and git installed, this was part of the genius of Linus' design, you just ssh in, and the git user you log in as has your SSH key added to authorized_keys and it runs commands to the git shell that is the user's default shell
so that part is the easy part
the hard part is when you want to give access to the public, because SSH is not designed to allow ad-hoc one-off unprivileged logins, plus in my case, i use Go which depends on git HTTP
Yeah, that's the thing.