The moment I realized that “SSH login” on hosted git forges like GitHub literally just means “there’s a folder on a computer that you’re connecting to over SSH” was crazy to me. I realized that there’s no need to selfhost gitlab, gitea, forgejo. Just put a folder on user@host in the repos folder, then set the origin url to user@host:~/repos/myrepo
I think there may be some init commands needed before, like git init --bare or something
The moment I realized that “SSH login” on hosted git forges like GitHub literally just means “there’s a folder on a computer that you’re connecting to over SSH” was crazy to me. I realized that there’s no need to selfhost gitlab, gitea, forgejo. Just put a folder on user@host in the repos folder, then set the origin url to user@host:~/repos/myrepo
I think there may be some init commands needed before, like git init --bare or something