News for hackers. Stuff that matters.
Re:GitHub is down by thosakwe on Monday July 22, 2019 @12:52PM (#20499835)
Took this opportunity to set up my own Git server on a VPS I have. It was actually extremely simple to set up the server, limit the git account (ssh only) to only using git-shell, and adding gitweb with basic auth in an nginx setup with letsencrypt, HTTP/2, and FastCGI. Took maybe 20 minutes, and most of it was looking up the necessary commands.

That being said, I am, and probably will still be a massive GitHub user, because I value its community aspect. But I also now have unlimited, truly-private Git hosting for peanuts (cheap DigitalOcean server), which is always nice.

Re:GitHub is down by tracker1 on Monday July 22, 2019 @02:02PM (#20500527)
don't even need that much... just SSH + Files.

On server:

    mkdir -p ~/repos/foo.git
    cd ~/repos/foo.git
    git --bare init
On desktop:

    git remote add backup ssh://user@server/~/repos/foo.git
    git push --all backup
Or something similar, been a while. Can use an absolute path too if sharing, need that path setup for +rwx for user/group. Used to do this as a quick and dirty remote for git usage. You can also setup a git user and add your public key, but find that isn't really necessary.

edit: looked up commands, made a couple minor tweaks.

note: this doesn't include any kind of LFS support if you're needing it, consider a more complete install, unsure on gitea or gitlab etc.

Re:GitHub is down by gfdgfdg on Monday July 22, 2019 @01:31PM (#20500266)
You can also use gitea, which is setup very quickly as uses almost no resources
Re:GitHub is down by thosakwe on Monday July 22, 2019 @01:41PM (#20500354)
I definitely considered it, but it struck as more of a "host your own Github," where really all I needed was "host your own Git," which of course comes out-of-the-box.