Hacker News new | ask | show | jobs
by jedieaston 2173 days ago
That's just as true of GitHub though, and isn't the problem. The problem is the related services, like issues, PRs and now CI/CD which all sit with the code but don't come down on a clone. That problem still hasn't been solved, which could mean your whole knowledge base goes missing if you lose access to the server. CI/CD can maybe be replicated from what's on your laptop, but if you don't have the PR history it could spell doom for big codebases that don't use extended commit messages a lot.
2 comments

You could use something like Fossil[1]. Or you could take regular backups of your project, which you should perhaps be doing anyway.

[1] https://fossil-scm.org/home/doc/trunk/www/index.wiki

I never understood why all that stuff wasn't also committed to the same repository. History is history, whether it's source code or talk about source code.

Of course it could also be in a database thingy for querying and stuff.

Some people say it is because Github wants to lock you in. I don't really believe that, but I am equally sure they don't mind if you lock yourself in.