The letters SN

Sashanoraa's Cute Internet Corner

Sandra . @Sandra, @idiomdrottning.org
In honor of World Give Up GitHub day, here's a quick guide to how to serve up your own git repos.

In an empty directory readable from WWW (that has the URL you want your repo to have, for cloning) that you also can write to over SSH, run

git init --bare
mv hooks/post-update.sample hooks/post-update

Make sure the directory has the permissions you want for web (world readable, not writable).

Set the SSH path to the directory as a remote on your local copy of the repo, and push to it and you're done.


https://idiomdrottning.org/hosting-git-repos
Open thread
Sandra . @Sandra, @idiomdrottning.org
@sasha

Yeah, this is a quick and easy way for people with a static site to make repos that people can clone. There's no web view with this, just a clone url. For a full interface, people are recommending Gitea, Soft Serve, cgit, or Depp. Haven't tried any of those.🤷🏻‍♀️

There's also sr.ht but it's a lot of work for just one user.
Open thread