您的位置:首页 > 产品设计 > UI/UE

A beginner's guide to GitHub (GitHub 初学者指南)

2015-02-17 17:33 429 查看
From Google to The White House, everyone is on GitHub . If you don't know what GitHub is, keep reading, because I'm also going to talk about why
it's one of my favorite websites and share some of its most popular features.

从Google到白宫,每个人都拥有GitHub。如果你不知道GitHub是什么,那就继续阅读。因为我要解释为什么GitHub是我最喜爱的网站之一,并分享一些最受欢迎的功能。


What's GitHub?

GitHub is a web-based Git repository hosting service that offers all of the distributed revision control and source code management functionality of Git combined with a unique set of other features.

GitHub是一个基于web的Git仓库托管服务。它提供分布式版本控制和源代码管理等一系列和Git紧密结合的独特功能。

In layman's terms, it's a place where every developer (or aspiring developer) can share their source code and stories with the world. It's a huge and highly respected collaboration platform, and it's used by just about every big technology company you can think
of: Google , Twitter , Mozilla , Facebook ,IBM, Netflix , Dropbox ,
and PayPal , to name a few. So, why did they all choose GitHub?

通俗的说,这里的每个开发者或者说有抱负的开发人员都可以分享他们的源代码与他们和世界的故事。这是一个庞大的、备受推崇的协作平台,你能想到的几乎所有大公司都选择使用它,例如Google、Twitter、Mozilla、Facebook、IBM、Netflix、Dropbox和PayPal。那么他们为什么都选择GitHub呢?


It's the place to store your code

Let's be honest—if you're not hosting your source code on GitHub right now, your open source project pretty much doesn't exist. I have a lot of respect for solutions likeLaunchpad and BitBucket ,
but GitHub is still the place to go if you need a place to store and share your source code.

说实话,现在不在GitHub上托管源代码的开源项目几乎不存在。当然,有很多种解决方案,比如采用Launchpad或者BitBucket,但是如果你需要一个存储并且共享你源代码的地方,GitHub始终是一个选择。


Huge developer community

There are 8.2 million people collaborating across 19 million GitHub repositories. As GitHub says on its about page , "Developers from
all around the world are building amazing things together. Their story is our story."

GitHub拥有820万开发者合作开发的1900万个仓库,正如GitHub在他们的介绍页面上说的“世界各地的开发人员在一起创造奇妙的东西,他们的故事就是我们的故事”


GitHub as a replacement for LinkedIn

I've been using LinkedIn for quite some time and love it, but the truth is, you can say pretty much anything
you want on there. Say, for example, that you have C++ listed as a skill on your LinkedIn profile. Your connections can endorse you for it, but it doesn't give employers any idea of how good you are at it, or whether you can program in it at all. With GitHub,
they can see your knowledge and skills in action.

我使用Linkedln有一段时间了,我很喜欢Linkedln。但是事实是,你可以说这里有你想要的任何东西。例如,你可以在你的Linkdeln上列出你掌握了C++。你的好友可以赞同,但是你的雇主不会了解你多么擅长C++。采用GitHub,他们就可以看到你的知识和技能是如何运用在实际项目中的。

Now don't get me wrong—GitHub is not a replacement for your resume, but it's a place where you can show your skills instead of just talking about them. One project, called Open
Source Report Card , grabs your public GitHub data and converts it into a format that's pretty similar to
a resume.

不要误会我的意思,GitHub不能替代你的简历,但它是一个可以公开展示你的技能,而不仅仅是谈论技能的地方。每个项目,都有一个叫做开源项目报告卡的东西,可以提炼你公共的GitHub数据,形成一个类似于简历的格式。


GitHub pages

Let's say you want to build a website. You have a couple of options: You can buy a domain and hosting service and build it from scratch, or you can use a "freemium" service like Wix ,
which allows you to create a stunning website in minutes, but limits what you can do with it.

如果你要建立一个网站,你有以下几个选择:你可以购买一个域名和托管服务从无到有的建立,或者也可以使用Wix一类的免费增值服务,在几分钟内就可以创造一个令人惊叹的网站,但是你做什么会有限制。

So if you want to have full control, showcase your website development and design skills, and do it all free of charge, what should you use? GitHub
Pages !

所以如果你想要拥有完全的控制权,展示你的网站开发和设计技巧,并可以做到全部免费,你应该使用GitHub Pages。

With GitHub pages, you can create a personal, organization, or project website with ease. Don't believe me? Check out my online
portfolio ! It took me less than 15 minutes to create using a template offered by GitHub, and I have full control of the site. I even managed to alter the design of the original
template !

利用GitHub pages,你可以创建私人、组织或项目网站。不相信我吗?查阅我的online portfolio。可以让你在15分钟内根据GitHub提供的模版创建一个网站,而且拥有全部的控制权,你甚至可以修改模版的设计。


GitHub training

GitHub uses Git, which is a distributed revision control system designed and developed by Linus Torvalds for Linux kernel development back in 2005. Since then, it's become the most
widely adopted version control system for software development there is.

GitHub使用Git,分布式的版本控制系统是Linus Torvalds为Linux内核的开发在2005年设计和提出的。自那时以来,它已成为软件开发中最广泛采用的版本控制系统。

But what if you don't know how to work with Git? Is that a problem? Heck no! GitHub provides resources for working with Git using GitHub as a platform in the form of free training
kits and online courses . Whatever learning option you choose, you'll see that your materials are divided into three difficulties: beginner,
intermediate, and advanced.

但是,如果你不知道如何使用Git就不行了吗?不是的!GitHub提供学习在GitHub上使用Git的培训工具包和在线课程。不论你选择怎样学习,你会看到你的学习材料分为三个部分:初级、中级和高级。


GitHub gists

This is GitHub's newest service—a place where you can share text or code snippets publicly or privately. Public gists can show up in search results and be found by anyone with access to GitHub, while private gists can only be accessed by those with the link.

这是GitHub的最新服务,你可以在这里公开的或者私密的共享文本或者代码片段。公共的gists可以显示在搜索结果中,被那些访问到GitHub 的人发现。而私有的gists只能被通过链接来访问。


Atom Text Editor

When I first found out about Atom , GitHub's hackable text editor, I fell in love with the site all over again. So just how "hackable" is it? Completely.
You can "hack" every single thing inside of that text editor. Don't know how? Not to worry, there are thousands of packages already available ,
all of them hosted on GitHub and offered free of charge.

当我第一次发现Atom,GitHub的文本编辑器,我又一次爱上了这个网站。为什么叫做“Hckable”呢?显然是因为你可以定制编辑器里的每一个部分。不知道怎么定制?不要担心,GitHub上有免费提供。

Don't like the design of the editor? Pick one of thousands of alternate " flavors ."
You can customize your installation to be anything from a simple text editor to a fully integrated development environment. You can even write your publications, blog posts, or books in it. In fact, I used it to write this very post!

不喜欢编辑器的设计吗?在成千上万个备用的选项里找到你的菜。你可以自定义你的安装,从仅仅是一个简单的文本编辑器到一个全面的集成开发环境。你甚至可以在里面写你的刊物、博客或者书籍。事实上,这篇文章就是用它写的。


GitHub student developer pack

A few days ago I got a letter from my college professor stating that as a student, I'm eligible to receive a GitHub student
developer pack , which offers more than 15 free and paid development tools from GitHub and its partners at a huge discount.

几天前,我收到一封我大学教授的信,信里说作为一个学生,我有资格领取GitHub的学生开发包,提供GitHub和和他的合作伙伴提供的超过15种免费和付费的开发工具。


Amazing support

I'm a developer. I use lots of stable and unstable software and services on a daily basis, and it's important that I get support as fast as possible. I once had an issue with a GitHub feature and reached out to them for support. I received an email response
within 20 minutes. Support was eventually able to explain exactly why I was having the issue and what I had to do to resolve it. I have to give them a straight 10/10 for their support.

作为一个开发者,我日常也使用了许多稳定的和不稳定的软件和服务,很重要的是我可以尽快得到支持。一旦我对GitHub的功能存在问题,去寻求帮助,我可以在20分钟内得到电子邮件的回应。技术支持可以解释到底为什么我会遇到这个问题以及怎样解决这个问题。我不得不对他们的技术支持十分满意。


Any reason not to use GitHub?

If you're developing proprietary software, there are plenty of reasons you shouldn't post the source code on GitHub, but that shouldn't stop you from working on open source software in your free time. Doing so will benefit you when you start looking for a new
job, benefit the developers, and benefit every single user of that open source project. GitHub offers you a wide variety of opportunities, and you should take advantage of them!

如果你正在开发闭源软件,有许多理由你不应该使用GitHub发布你的源代码。那不应该阻止你在你的空闲时间为开源软件工作。当你寻找一份新工作的时候,开发者和每一个开源项目的用户就可以从中获益了,这样也对你有利。GitHub为你提供各种各样的机会,你应该好好利用它们。

Beginners to Open Source

A collection of articles about how to get started in open source.

这有一些文章集来解释怎样开始进行开源的开发。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: