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
Follow

@Sandra @alcinnz My home (gollum) wiki is a bare repo running on my NAS. I also set up gitea to have my own “github” on my local network. #

Sign in to participate in the conversation
AppDot.Net

Mastodon x appdot.net = fun? A place for former ADN users - on the whole