TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: I don't want to rely on GitHub as the only storage of my opensource code

2 pointsby 3dfanover 6 years ago
I am currently hosting my open source contributions on GitHub.<p>I think it would be foolish to think that GitHub will be around and be trustworthy forever. At some point it will go down like every other project does.<p>What is a good way to make sure I can still access my repos no matter what happens to GitHub?<p>I don&#x27;t want to host them locally. Too much of a hassle.<p>What&#x27;s an easy way to mirror them to other places?

4 comments

aaronbrethorstover 6 years ago
<p><pre><code> git push backup master </code></pre> Where <i>backup</i> is a remote that exists literally anywhere else. Amazon, Gitlab, and Bitbucket are three choices that come to mind.
评论 #18892176 未加载
评论 #18892169 未加载
karmakazeover 6 years ago
I would suggest using either GitHub or GitLab as primary and mirror on the other. I prefer the issue management of GitLab so use that as my primary.<p>The top search result[0] are GitLab docs for pushing to or pulling from another repository for mirroring.<p>[0] <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=github+gitlab+mirror" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=github+gitlab+mirror</a>
stephen82over 6 years ago
How about setting up your own server and use <a href="https:&#x2F;&#x2F;github.com&#x2F;go-gitea&#x2F;gitea" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;go-gitea&#x2F;gitea</a> to host your projects there?
krappover 6 years ago
&gt;I don&#x27;t want to host them locally. Too much of a hassle.<p>No it isn&#x27;t. Just buy an external drive or something and copy your repos to it, done and done.