GitHub and the Crime Against Software

1 hour ago (eblog.fly.dev)

Because of the many GitHub problems, I'm adding GitLab and Codeberg.org.

Setup is just 3 steps.

1. Sign up on each, ideally with the same username.

2. For each repo you want to share, create the same repo name as a blank repo; do not automatically create a README nor other files.

3. Edit your file .git/config to add push URLs, then push as usual.

Example:

    [remote "origin"]
        url = git@github.com:foo/bar.git
        pushurl = git@codeberg.org:foo/bar.git
        pushurl = git@github.com:foo/bar.git
        pushurl = git@gitlab.com:foo/bar.git
        fetch = +refs/heads/*:refs/remotes/origin/*

“Never, ever, think about something else when you should be thinking about the power of incentives.”

— Charlie Munger

Edit: great write up, thank you op.