23 Nov 2008

[git_0]介绍

  1 diff --git a/text/01_Introduction/0_ Introduction.markdown b/text/01_Introduction/0_ Introduction.markdown
  2 deleted file mode 100644
  3 index 9c60fb9..0000000
  4 --- a/text/01_Introduction/0_ Introduction.markdown    
  5 +++ /dev/null
  6 @@ -1,54 +0,0 @@
  7 -## Welcome to Git ##
  8 -
  9 -Welcome to Git - the fast, distributed version control system.
 10 -
 11 -This book is meant to be a starting point for people new to Git to learn it
 12 -as quickly and easily as possible.
 13 -
 14 -
 15 -This book will start out by introducing you to the way Git stores data, to
 16 -give you the context for why it is different than other VCS tools.
 17 -This is meant to take you about 20 minutes.
 18 -
 19 -Next we will cover **Basic Git Usage** - the commands you will be using 90% of
 20 -the time.  These should give you a good basis to use Git comfortably for most
 21 -of what you're going to use it for.  This section should take you about 30
 22 -minutes to read through.
 23 -
 24 -Next we will go over **Intermediate Git Usage** - things that are slightly more
 25 -complex, but may replace some of the basic commands you learned in the first
 26 -section.  This will mostly be tricks and commands that will feel more
 27 -comfortable after you know the basic commands.
 28 -
 29 -After you have all of that mastered, we will cover **Advanced Git** - commands
 30 -that most people probably don't use very often, but can be very helpful in
 31 -certain situations.  Learning these commands should round out your day-to-day
 32 -git knowledge; you will be a master of the Git!
 33 -
 34 -Now that you know Git, we will then cover **Working with Git**.  Here we will go
 35 -over how to use Git in scripts, with deployment tools, with editors and more.
 36 -These sections are meant to help you integrate Git into your environment.
 37 -
 38 -Lastly, we will have a series of articles on **low-level documentation** that may
 39 -help the Git hackers who want to learn how the actual internals and protocols
 40 -work in Git.
 41 -
 42 -### Feedback and Contributing ###
 43 -
 44 -At any point, if you see a mistake or want to contribute to the book, you can
 45 -send me an email at [schacon@gmail.com](mailto://schacon@gmail.com), or you
 46 -can clone the source of this book at
 47 -[http://github.com/schacon/gitscm](http://github.com/schacon/gitscm)
 48 -and send me a patch or a pull-request.
 49 -
 50 -### References ###
 51 -
 52 -Much of this book is pulled together from different sources and then added to.  
 53 -If you would like to read some of the original articles or resources, please
 54 -visit them and thank the authors:
 55 -
 56 -* [Git User Manual](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html)
 57 -* [The Git Tutorial](http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html)
 58 -* [The Git Tutorial pt 2](http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html)
 59 -* ["My Git Workflow" blog post](http://osteele.com/archives/2008/05/my-git-workflow)
 60 -
 61 diff --git "a/text/01_Introduction/0_ \344\273\213\347\273\215.markdown" "b/text/01_Introduction/0_ \344\273\213\347\273\215.markdown"
 62 new file mode 100644
 63 index 0000000..46154f3
 64 --- /dev/null
 65 +++ "b/text/01_Introduction/0_ \344\273\213\347\273\215.markdown"      
 66 @@ -0,0 +1,49 @@
 67 +## 欢迎使用 Git ##
 68 +
 69 +欢迎使用 Git ──快速的、分布式的版本控制系统(VCS)。
 70 +
 71 +这本书旨在为 Git 新人尽可能地提供一个快速的、容易的起点。
 72 +
 73 +这本书的开始将为你介绍 Git 储存数据的方式,并给你上下文,以标明为什么它有别于
 74 +其他 VCS 工具。这将花费你大约 20 分钟的时间。
 75 +
 76 +接下来我们将讲解 **Git 的基本用法** ── 这些命令是你 90% 的时间会用到的。这些
 77 +将给你一个良好的基础,使你舒服地用 Git 做绝大多数你想用它做的事情。你需要大概
 78 +30 分钟的时间来通读这一节。
 79 +
 80 +再接下来,我们将到达 **Git 中级用法**,事情稍微复杂一些,但也许可以替代一些你在
 81 +第一节学到的基本命令。这大多数是一些技巧,并且在知道基本命令后,你在学习这些命令,
 82 +将感觉更为轻松。
 83 +
 84 +在你掌握了以上知识后,我们将介绍 **高级 Git**,这些命令多数人都不会经常使用,但
 85 +在特定情形下却也非常有用。学习这些命令将助你跳出日常 Git 的知识;你将成为一个
 86 +Git 大师!
 87 +
 88 +现在你知道 Git 了,我们将接着介绍 **和 Git 协同工作**。这里我梦将覆盖如何在脚本中
 89 +使用 Git,结合实施工具,结合编辑器,以及更多。这些章节旨在协助你将 Git 整合到你的
 90 +(开发)环境中。
 91 +
 92 +最后,我们有一些列 **底层文档**,用来帮助 Git 黑客们学习 Git 的内在和协议。
 93 +
 94 +### 反馈和参与 ###
 95 +
 96 +任何时候,如果你看到了一个错误或者想要参与贡献这本书,你可以发邮件给我,地址是
 97 +[schacon@gmail.com](mailto://schacon@gmail.com),或者你可以从
 98 +[http://github.com/schacon/gitscm](http://github.com/schacon/gitscm)
 99 +克隆(clone)这本书的源代码,并给我发一个 patch 或者 pull-request。
100 +
101 +中文译本的邮件地址: [jick.nan@gmail.com](mailto://jick.nan@gmail.com)
102 +Git 克隆地址:<http://github.com/jicknan/gitscm>
103 +
104 +(P.S: 翻译这篇的时候,感谢某人在这寒冷的早晨帮我买鸡蛋饼 :P)
105 +
106 +### 参考资料 ###
107 +
108 +这本书的大部分都是从不同的来源整合并扩充而成的。如果你希望读一些原始的文章或者资源,
109 +请访问他们并感谢这些作者:
110 +
111 +* [Git User Manual](http://www.kernel.org/pub/software/scm/git/docs/user-manual.html)
112 +* [The Git Tutorial](http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html)
113 +* [The Git Tutorial pt 2](http://www.kernel.org/pub/software/scm/git/docs/gittutorial-2.html)
114 +* ["My Git Workflow" blog post](http://osteele.com/archives/2008/05/my-git-workflow)

115 +

小更新:

Git 克隆地址:

  * 英文版分枝: book
  * 中文版分枝: book-zh

3 Aug 2008

菏泽欢迎你

据说 7 月 28 日的新闻联播报道了,想必上网的不上网的都知道了。没错,就是那个菏泽老年版 MTV:



Blogger 插入视频好像有问题? 直接给出 优酷上的链接。

一些链接:


PS: 小柯的 blog 在新浪,我给的链接不是新浪的。新浪版也好找,却又出入。对比一下:

...直到今天早上,一醒过来就接到一个一直特别了解我心思的朋友打来电话,让我上网搜索“老年版北京欢迎你”,于是我几乎是被电起来一样弹到电脑旁,降落后赶紧谷歌新浪一通搜索...

...直到今天早上,一醒过来就接到一个一直特别了解我心思的朋友打来电话,让我上新浪“2008我最红-《北京欢迎你》唱”看“老年版北京欢迎你”,于是我几乎是被电起来一样弹到电脑旁,降落后赶紧谷歌新浪一通搜索...

不知道是小柯觉悟高,还是新浪无耻?

27 Jul 2008

Blogger 式微

很久没有写 Blog 了,最近写了一篇流水帐,第一选择竟然是豆瓣日记,这让我感到 Blogger 在我这里有点式微了。

- 走出水泥盒子,走到阳光下的时候,我喜欢用 twitter 记录看到的,想到的。我可以一天推十余次,也可以十余天推一次,关键是:因为手机终端形影不离,我可以随时推一把。twitter 这种简单的形式让人欲罢不能,严格按时间排序也很适合做活动直播。相比之下,发篇 blog 就复杂多了。

- 我也不喜欢在 Blogger 写评论类文字了,我喜欢在 friendfeed 讨论。在 Blogger,发布的是我对某件事的看法;而在 friendfeed,则是:这里有件事、物,我是这么看得,其他人是那么看的,集合在一起,就是讨论了;相比于一个人的诉说,我更喜欢讨论。

- 写一篇 Blog 的时候,我并不知道我希望让哪些人看。我不希望自己的生活全部公开在网络,有时只要朋友看到就行了;我也不希望自己的阴暗心理被别人看到,这些就留给自己吧。豆瓣日记足够简单,又可以控制单篇日志的访问权限:是写给自己的,还是写给朋友的,或者谁都可以看?这是我比较喜欢的一点。没错,Blogger 也可以有权限控制,但那是关于整站的;并且,似乎豆瓣更生活一些。因此,一些生活的记录,可能就留在豆瓣了;而如果是技术性的总结,那还是在 blogger 比较合适,还可以有点个人信息发布。

- 更要命的是,纯技术性总结,我更喜欢在本地的 wiki 里展现。和 Blogger 的篇目相比,wiki 更适合知识性文字的组织。

如上,我的 Blogger 发贴越来越少了,直到我发现它的下一个价值。

P.S. 恭贺陈老师 Blog 改版,久未更新的本 blog 也有幸忝列友情链接之中。陈老师以稳定、持续、高频率的更新,一直活跃在 Blogger 的一线,成为我 Google Reader 里最为活跃的 Blogger 之一  :P