16
16
17
17
# Git 客户端
18
18
19
- mac和linux系统推荐使用终端即可,git一开始的命令的确很多,别无它法,熟能生巧,多练习即可能够掌握日常使用的一些名利,再配合[ 常用命令的alias] ( https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases ) 或者强大的 [ ` zsh 终端 ` ] ( https://github.com/robbyrussell/oh-my-zsh ) 都能显著的提升效率,当然如果非得寻找图形化客户端,也不是没有;windows下还是尽快熟悉客户端的使用吧,因为win下面的bash太难用了:
19
+ mac和linux系统推荐使用终端即可,git一开始的命令的确很多,别无它法,熟能生巧,多练习即可能够掌握日常使用的一些名利,再配合[ ` 常用命令的alias ` ] ( https://git-scm.com/book/tr/v2/Git-Basics-Git-Aliases ) 或者强大的 [ ` zsh 终端 ` ] ( https://github.com/robbyrussell/oh-my-zsh ) 都能显著的提升效率,当然如果非得寻找图形化客户端,也不是没有;windows下还是尽快熟悉客户端的使用吧,因为win下面的bash太难用了:
20
20
21
21
- [ GUI Clients] ( https://git-scm.com/downloads/guis ) 官方推荐图形客户端,罗列的包括了Mac、windows、linux下的客户端,免费及付费的都有,你可以在这里面挑选一个就ok。
22
- - [ git for windows] ( https://msysgit.github.io/ ) 针对window系统发布的客户端,集成了shell窗口,方便在win下面使用命令操作。
22
+ - [ Git for windows] ( https://msysgit.github.io/ ) 针对window系统发布的客户端,集成了shell窗口,方便在win下面使用命令操作。
23
23
- [ TortoiseGit - The coolest Interface to Git Version Control] ( https://code.google.com/p/tortoisegit/ ) 在window下使用git,那就不得不提“乌龟”,安装了tortoise后,右键图形化操作根本分辨不出来哪是git,哪是SVN,很方便使用SVN的用户过度过来。
24
24
- [ Tower2] ( http://www.git-tower.com/ ) 号称最好的git客户端,只有Mac版本,收费,集成github、gitlab、Xcode等服务。
25
25
- [ SourceTree] ( https://www.sourcetreeapp.com/ ) 免费,功能齐全,Mac+window版本,集成github等服务。
26
26
27
27
# Git branch
28
28
- [ A successful Git branching model] ( http://nvie.com/posts/a-successful-git-branching-model/ ) 介绍日常推荐的分支开发模型,基于此模型可以通过这个小游戏来进行学习 [ Learn Git Branch] ( http://pcottle.github.io/learnGitBranching/ )
29
- - [ Git工作流指南] ( https://github.com/xirong/my-git/blob/master/git-workflow-tutorial.md ) 完整的对比目前使用的集中式(svn)工作流、功能分支工作流、gitflow工作流、forking工作流、pull request 等几种不同的模式,通俗易懂,强烈推荐看一看,如果觉的排版不好,请查看原分页文章 [ git -workflow-translations] ( https://github.com/oldratlee/translations/tree/master/git-workflows-and-tutorials )
29
+ - [ Git工作流指南] ( https://github.com/xirong/my-git/blob/master/git-workflow-tutorial.md ) 完整的对比目前使用的集中式(svn)工作流、功能分支工作流、gitflow工作流、forking工作流、pull request 等几种不同的模式,通俗易懂,强烈推荐看一看,如果觉的排版不好,请查看原分页文章 [ Git -workflow-translations] ( https://github.com/oldratlee/translations/tree/master/git-workflows-and-tutorials )
30
30
- 熟悉的工作流后,你是否也想要在github上与他人一起协同工作?那么问题来了,[ Github全程指南-如何高效使用?] ( how-to-use-github.md )
31
31
- [ Understanding the GitHub Flow] ( https://guides.github.com/introduction/flow/index.html ) This guide explains how and why GitHub Flow works 简单实用,更好的理解Github的模式。
32
32
@@ -35,8 +35,8 @@ mac和linux系统推荐使用终端即可,git一开始的命令的确很多,
35
35
36
36
37
37
# Git 书籍
38
- - [ Pro Git] ( http://git-scm.com/book/zh/v1 ) 作者Scott Chacon是github的员工,git的布道者,这本书被誉为git学习圣经,中间有好多插图描述的浅显易懂,挺适合详细学习下的,最新英文第二版《[ pro git (Editon 2)] ( http://git-scm.com/book/en/v2 ) 》;
39
- - [ Git-internals-pdf] ( https://github.com/pluralsight/git-internals-pdf ) 老外写的,很给力,从目录上面包括安装使用以及设计原理都有讲解,有机会看看。pdf电子版本直接下载地址 [ git -internals.pdf] ( ebooks/git-internals.pdf )
38
+ - [ Pro Git] ( http://git-scm.com/book/zh/v1 ) 作者Scott Chacon是github的员工,git的布道者,这本书被誉为git学习圣经,中间有好多插图描述的浅显易懂,挺适合详细学习下的,最新英文第二版《[ Pro git (Editon 2)] ( http://git-scm.com/book/en/v2 ) 》;
39
+ - [ Git-internals-pdf] ( https://github.com/pluralsight/git-internals-pdf ) 老外写的,很给力,从目录上面包括安装使用以及设计原理都有讲解,有机会看看。pdf电子版本直接下载地址 [ Git -internals.pdf] ( ebooks/git-internals.pdf )
40
40
- [ Git Community Book] ( http://gitbook.liuhui998.com/ ) 汇聚了Git社区的很多精华, 并对git的对象模型原理等做了解释,可以深入的了解下git原理。pdf电子版本直接下载地址 [ Git Community Book.pdf] (ebooks/Git Community Book.pdf)
41
41
- [ Git权威指南] ( http://book.douban.com/subject/6526452/ ) 国内版本控制咨询顾问蒋鑫先生的原创书籍,原生中文叙述,更容易理解,查看[ 作者写书的缘由] ( http://www.worldhello.net/gotgit/ )
42
42
@@ -45,7 +45,8 @@ mac和linux系统推荐使用终端即可,git一开始的命令的确很多,
45
45
- [ Git flow 中文备忘清单] ( http://danielkummer.github.io/git-flow-cheatsheet/index.zh_CN.html )
46
46
- 一个很有意思的学习 git 的小游戏 http://pcottle.github.io/learnGitBranching/
47
47
- [ Git completion] ( https://github.com/git/git/tree/master/contrib/completion ) 终端 git 命令的 Tab 键补全功能,比如打开终端,输入` git che ` ,按 Tab 键,则会出现` check-attr\check-ignore\checkout ` 等等的选项,支持bash、zsh等shell,使用方法(以bash shell为例):下载链接中相应的版本到用户目录下,修改` ~/.bashrc ` 文件 ,加入` source ~/git-completion.bash ` ,使得每次打开终端时都执行一次` git-completion.bash ` 脚本,来完成git 命令的 Tab 补全。或者采用这种方法[ Quick Tip: Autocomplete Git Commands and Branch Names in Bash] ( http://code-worrier.com/blog/autocomplete-git/ )
48
- - [ .gitignore template] ( https://github.com/github/gitignore ) 各种语言、各种编辑器的` .gitignore ` 文件模板,当你进行某些语言的开发时候,直接使用相应的模板即可,省去自己写的时间(还不全),当然你也可以去贡献自己的模板,不知道` .gitignore ` ? 简单讲就是不让git跟踪某些文件,详情阅读:http://git-scm.com/docs/gitignore PS:推荐使用` .gitignore_global ` 文件进行全局过滤,比如mac下的` .DS_Store ` 文件,省去在每个repo下进行设置` .gitignore ` 文件了。全局模板参考:https://github.com/github/gitignore/tree/master/Global
48
+ - [ .gitignore template] ( https://github.com/github/gitignore ) 各种语言、各种编辑器的` .gitignore ` 文件模板,当你进行某些语言的开发时候,直接使用相应的模板即可,省去自己写的时间(还不全),当然你也可以去贡献自己的模板,不知道` .gitignore ` ? 简单讲就是不让git跟踪某些文件,详情阅读:http://git-scm.com/docs/gitignore
49
+ ** PS:** 推荐使用 ` .gitignore_global ` 文件进行全局过滤,比如mac下的 ` .DS_Store ` 文件,省去在每个 Repo 下进行设置 ` .gitignore ` 文件了。全局模板参考:https://github.com/github/gitignore/tree/master/Global
49
50
50
51
# Git extensions
51
52
- Git 的大文件支持[ Git LFS] ( https://github.com/github/git-lfs ) : Git在对大文件进行版本管理的时候,速度上是很慢的,一个帮助处理大文件的扩展插件,在 GithubHelp [ Working with large files] ( https://help.github.com/articles/working-with-large-files/ ) 中提到,不建议对大文件如日志、database等使用Git进行版本控制,如果非要有这种需求,则建议使用 Git LFS 。
0 commit comments