Comment

Comment by jph

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

Setup is simply 3 steps:

1. Sign up on each service, 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.

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

Example:

    [remote "origin"]
        url = [email protected]:foo/bar.git
        pushurl = [email protected]:foo/bar.git
        pushurl = [email protected]:foo/bar.git
        pushurl = [email protected]:foo/bar.git
        fetch = +refs/heads/*:refs/remotes/origin/*
parent jph 5 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton