github gist_GitHub Gist是类固醇的Pastie

github gist

alt

In just a few short months GitHub has become a huge hit in the programming community, especially in the open source and Rails communities. GitHub provides software repository services using Git, the decentralized version control system created by Linus Torvalds and used by the Linux kernel project. GitHub hosts about 10,000 projects and officially launched in April of this year after a beta period of a few months.

在短短的几个月内, GitHub在编程社区,特别是在开源社区和Rails社区中大受欢迎。 GitHub使用Git提供软件存储库服务, Git是由Linus Torvalds创建并由Linux内核项目使用的去中心化版本控制系统。 GitHub托管了大约10,000个项目,并在几个月的测试期后于今年4月正式启动。

It may seem counterintuitive to create a centralized software repository using what is supposed to be a decentralized system, but what makes GitHub special are the social features it offers. Git makes it easy to fork and merge code, and GitHub has taken those concepts and built social networking features around them, including user and project news feeds of comments, forks, commits, and other project related activities.

使用所谓的去中心化系统创建集中式软件存储库似乎违反直觉,但是让GitHub与众不同的是它提供的社交功能。 Git使派生和合并代码变得容易,并且GitHub采纳了这些概念并围绕它们建立了社交网络功能,包括用户和项目新闻提要,分支,提交以及其他与项目相关的活动。

Earlier this week, GitHub applied some of the same concepts to the practice of “pasting” and created their own pastebin site called Gist. Pastebins, such as the popular Pastie, have become an invaluable tool for many coders, especially those working with collaborators, by letting developers paste and share small code snippets.

本周早些时候,GitHub在“粘贴”实践中应用了一些相同的概念,并创建了自己的pastebin网站Gist 。 诸如流行的Pastie之类的Pastebins通过允许开发人员粘贴和共享小的代码段,已成为许多编码器(尤其是与合作者合作的编码器)的宝贵工具。

alt

Gist builds upon that idea by adding version control for code snippets, easy forking, and SSL encryption for private pastes. Because each “gist” is its own Git repository, multiple code snippets can be contained in a single paste and they and be pushed and pulled using Git. Further, forked code can be pushed back to the original author in the form of a patch, so pastes can become more like mini-projects.

Gist通过添加用于代码段的版本控制,简单的分叉和用于私人粘贴的SSL加密来建立该思想。 因为每个“要点”都是其自己的Git存储库,所以多个代码段可以包含在单个粘贴中,并且可以使用Git进行推送和拉取。 此外,可以将分叉的代码以补丁的形式发送回原始作者,因此粘贴可以变得更像微型项目。

As TechCrunch notes, GitHub’s hope with Gist is that people will find it easier to contribute to open source projects without having to first become familiar with how Git works. TechCrunch also notes, though, that Gist is missing full text search. Gist is already a killer pasting services, and with a few small improvements it could be nearly perfect.

正如TechCrunch指出的那样 ,GitHub对Gist的希望是,人们将发现在不必首先熟悉Git的工作原理的情况下,为开源项目做贡献会更容易。 但是TechCrunch还指出,Gist缺少全文搜索。 吉斯特(Gist)已经是杀手past的粘贴服务,并且通过一些小的改进就可以达到完美。

翻译自: https://www.sitepoint.com/github-gist-is-pastie-on-steroids/

github gist

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值