LinuxGem
此处为老的 LinuxGem,新版 LinuxGem 请移步 www.linuxgem.org

Git 使用指南

galeki posted @ 2008年8月01日 18:21 in 好多文档 with tags Git , 16473 阅读

这是最近我为实验室项目小组写的一份 Git 使用指南,现在公布出来,希望对 git 初学者有所帮助。另外也希望大家能够对该文档提出一些改进建议。

下载地址:点这里

文档目录:

第1章   使用 Git 管理个人文档
  1.1    何种文档需要保存
  1.2    建立项目仓库
  1.3    关于建立 Git 仓库的一些细节
  1.4    仓库与工作树
  1.5    在项目中工作
  1.6    查看版本历史
  1.7    撤销与恢复
  1.8    如何使用 Git 帮助文档

第2章   基于 Git 的团队协同开发
  2.1    两个人如何协同
  2.2    如何解决仓库合并冲突
  2.3    三人以至更多人如何协同
  2.4    M2GE 的协同开发

第3章   项目分支管理
  3.1    如何产生项目分支
  3.2    分支的合并
  3.3    M2GE 新的协同开发模式
 
maninred 说:
2008年8月01日 20:43 不是和官方那份差不多吗?章节和例子也基本一样。
garfileo 说:
2008年8月01日 21:06 自然是与官方的那份有区别,也无意于取代官方的指南。 官方的那份指南有些地方是语焉不详的,也有些是未有涉及但是又非常重要的内容(在其它文档中讲述,但我觉得有些零散)。譬如: 1. 如何屏蔽一些文件,禁止将其添加到仓库中; 2. 多人协作时,仓库合并冲突问题的解决方法; 3. 如何沿用 cvs/svn 的模式进行协作。
dengjia 说:
2008年8月01日 21:13 很不错,正需要呢,谢谢了!
luren 说:
2008年8月01日 22:06 有源码或html格式的吗?不喜欢pdf
luren 说:
2008年8月01日 22:08 禁止添加到仓库不是用git rm从index删除就可以了吗
garfileo 说:
2008年8月01日 22:25 @ luren: 我觉得 git rm 是各补救的办法。使用 .gitignore 可以防止在使用 “git add .”误加入你不希望进入仓库的文件。 这份 pdf 文档是我用 ConTeXt 写的,TeX 源文档是有的,不过要编译它,需要配合我自己写的 ConTeXt MkIV 预处理程序才可以。
fire3 说:
2008年8月02日 02:04 看看,git挺火的,但是自己用惯了svn
poet 说:
2008年8月04日 00:56 如果有一篇文章仅仅讲述 svn 与 git 的差别就比较好了。 几乎所有的版本管理软件都是首先把版本管理的概念讲一遍,然而对于用过版本管理的人来说,这往往是价值不大。——他们更关注的是:这个软件对版本管理的一些基本操作怎么实现,版本管理里面的一些概念在这个软件中如何体现?
galeki 说:
2008年8月04日 02:18 楼上可以看看 Git 官方的 SVN Crash Course http://git.or.cz/course/svn.html
grissiom 说:
2008年10月18日 06:53

看您的 tex 做得挺好的,很想学习学习,能给我发一份么?多谢多谢~
chaos.proton_at_gmail.com

finalbsd 说:
2009年3月27日 06:36

这个LaTeX的模板不错, 能给我LaTeX源码文件或者这个模板吗,呵呵.如果可以,就发到我这邮箱吧,谢谢!

JACK 说:
2009年4月01日 21:03

恩,这个文档做得很赏心悦目,很赞

JACK 说:
2009年4月01日 21:04

博主不愧是TEX版的版主,方便的话也请博主给我发一份TEX源码吧,谢谢啦

Marco 说:
2009年7月31日 07:57

真的是很实用的东西啊,赞一个!

greek 说:
2009年8月24日 18:52

很好很好!

毛毛 说:
2010年2月11日 19:43

博主,能发下你的tex源码给我吗?pdf做的很不错

毛毛 说:
2010年2月11日 19:45

email: chagenh@163.com

fdfd 说:
2021年3月12日 23:09

This is a splendid website! I'm exceptionally content with the remarks!..  Buy DMT

amelia 说:
2021年3月14日 23:04

It ended up being Very useful to me and I am certain to every one of the pundits here!  bulk sunglasses

amelia 说:
2021年3月17日 04:17

Love what you're doing here folks, keep it up!..  먹튀

amelia 说:
2021年3月18日 06:05

This was truly an intriguing point and I kinda concur with what you have specified here!  purses wholesale

amelia 说:
2021年3月18日 06:06

I cherish the way you compose and share your corner! Exceptionally intriguing and distinctive! Keep it coming!  wholesale women's accessories

chalsea 说:
2021年4月14日 21:22

Decent to peruse your article! I am anticipating sharing your enterprises and encounters.  How to join illuminati society

ch 说:
2022年1月25日 04:14

I as of late discovered numerous helpful data in your site particularly this website page. Among the heaps of remarks on your articles. A debt of gratitude is in order for sharing. https://www.5g999.co/slot

ch 说:
2022年2月14日 03:39

A debt of gratitude is in order for sharing this data. I truly like your blog entry all that much. You have truly shared a useful and intriguing blog entry with individuals.. www.jdb289.com

ch 说:
2022年2月14日 03:40

Much thanks to you so much Love your web journal.. http://www.HubJOKER888.com

amelia 说:
2022年7月03日 01:31

This is a really decent site post. Not very numerous individuals would really, the way you simply did. I am truly awed that there is such a great amount of data about this subject have been revealed and you've put forth a valiant effort, with so much class. In the event that needed to know more about green smoke audits, than by all methods come in and check our stuff. hq email address

amelia 说:
2022年7月12日 01:03

I adore this online journal!! The blaze up the top is wonderful!! Finance Hub Equity Release Mortgages


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter