TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 3dfan超过 6 年前
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 条评论

aaronbrethorst超过 6 年前
<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 未加载
karmakaze超过 6 年前
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>
stephen82超过 6 年前
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?
krapp超过 6 年前
&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.