Skip to content

Commit e6dbc24

Browse files
committed
add 01 introduction
1 parent e1e756a commit e6dbc24

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

chapters/01-introduction.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,47 @@
1-
#介绍
1+
#介绍
2+
3+
##什么是Github
4+
5+
Wiki百科上是这么说的
6+
7+
> GitHub 是一个共享虚拟主机服务,用于存放使用Git版本控制的软件代码和内容项目。它由GitHub公司(曾称Logical Awesome)的开发者Chris Wanstrath、PJ Hyett和Tom Preston-Werner
8+
使用Ruby on Rails编写而成。
9+
10+
当然让我们看看官方的介绍:
11+
12+
> GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over eight million people use GitHub to build amazing things together.
13+
14+
15+
它还是什么?
16+
17+
- 网站
18+
- 免费博客
19+
- 管理配置文件
20+
- 收集资料
21+
- 简历
22+
- 管理代码片段
23+
- 托管编程环境
24+
- 写作
25+
26+
等等。看上去像是大餐,但是你还需要了解点什么?
27+
28+
29+
##版本管理与软件部署
30+
31+
jQuery[^jQuery]在发布版本``2.1.3``,一共有152个commit。我们可以看到如下的提交信息:
32+
33+
- Ajax: Always use script injection in globalEval … bbdfbb4
34+
- Effects: Reintroduce use of requestAnimationFrame … 72119e0
35+
- Effects: Improve raf logic … 708764f
36+
- Build: Move test to appropriate module fbdbb6f
37+
- Build: Update commitplease dev dependency
38+
- ...
39+
40+
41+
##Github与Git
42+
43+
> Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,用作Linux内核代码的管理。在推出后,Git在其它项目中也取得了很大成功,尤其是在Ruby社区中。目前,包括Rubinius、Merb和Bitcoin在内的很多知名项目都使用了Git。Git同样可以被诸如Capistrano和Vlad the Deployer这样的部署工具所使用。
44+
45+
> GitHub可以托管各种git库,并提供一个web界面,但与其它像 SourceForge或Google Code这样的服务不同,GitHub的独特卖点在于从另外一个项目进行分支的简易性。为一个项目贡献代码非常简单:首先点击项目站点的“fork”的按钮,然后将代码检出并将修改加入到刚才分出的代码库中,最后通过内建的“pull request”机制向项目负责人申请代码合并。已经有人将GitHub称为代码玩家的MySpace。
46+
47+
[^jQuery]: jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。

img/favicon.ico

6.37 KB
Binary file not shown.

0 commit comments

Comments
 (0)