I was reading an argument about whether GitHub or Gitlab are better for hosting tiny personal-use-only projects.

Remember, you can create a bare repo on your own computer and use that. You don’t have to use *any* external company to host your git project.

HOWTO:

$ mkdir -p ~/src/myproject
$ cd ~/src/myproject
$ git init --bare
$ cd ~
$ git clone ~/src/myproject
$ cd myproject

There, done. Now you have a 100% fully functional git repo that doesn’t require a network connection and supports every single git feature. Pull it, push it, branch it, revert it, whatever: it’s your own repo and you can do whatever you want with it. And you don’t have to sign up for anything or agree to a Terms of Service or share your work or trust a company you dislike.

Show thread

@tek i wouldn't say "fully functional" b/c there's no bug tracker with that method. This is a major short-coming of the whole #git design, which would have done better to design a bug tracking db into the repo; not just for local use but also to port a project from one repo to another.

@koherecoWatchdog @tek
There are at least two integrated bug tracker projects for Git.
github.com/MichaelMure/git-bug
This is one, there was another recently launched whose name I can't remember right now. Was written in Node.js I think, so that's a minus.

@mcsinyx @koherecoWatchdog @tek No, I was thinking of Radicle. But that one might be worth checking out too.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml