Free private GitHub repository 101

2012 年 5 月 23 日
 imcotton
101:
* 你们都知道 gist.github.com 对吧
* 这里面可以建立 private gist
* 而 gist 实际上就是一个 pure git repository
* 完

Tips:
* gist 的 Web 界面无法创建或呈现文件夹,但是通过 git protocol 提交进 repo 并不受限制
* 不要在 Web 界面编辑已有目录结构的 gist,否则会被破坏结构
* remote master branch 无法删除
* git push -f 可以强制覆盖掉远程的 branch,可以用来清理掉 gist 初始化自动创建的 commit
5731 次点击
所在节点    git
9 条回复
lex
2012 年 5 月 23 日
试了一下,果然可以。貌似还不会扣免费帐号的容量?
imcotton
2012 年 5 月 23 日
@lex 是的,但是没试过太夸张的 push,怕弄响后台的警报被盯上。。。
binux
2012 年 5 月 23 日
私有gist是不安全的,任何知道你gist地址的用户都可以访问你的代码。
ayanamist
2012 年 5 月 23 日
这么麻烦,为什么不用BitBucket,一样免费的Private Repo,还有完整的文件夹支持。
imcotton
2012 年 5 月 23 日
@binux 嗯没错,所以只能管住自己不要泄露地址了
imcotton
2012 年 5 月 23 日
@ayanamist 因为当初 Bitbucket 还不支持 git,现在我基本上的大项目放 Bitbucket,小东西不需要 web interface 的就放 gist 里了
INT21H
2012 年 5 月 23 日
Bitbucket支持edu邮箱升级成Unlimited,很棒哦
gonbo
2012 年 5 月 23 日
@imcotton bitbucket 早就支持git了吧。
imcotton
2012 年 5 月 23 日
@gonbo 半年前 (October 3, 2011)

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/37031

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX