Git版本控制管理(英文影印版)
基本信息
- 原书名: Version Control with Git: Powerful Tools and Techniques for Collaborative Software Development
- 原出版社: O'Reilly Media
- 作者: Jon Loeliger [作译者介绍]
- 丛书名: 南京东南大学出版社O'Reilly系列
- 出版社:东南大学出版社
- ISBN:9787564122607
- 上架时间:2010-10-9
- 出版日期:2010 年6月
- 开本:16开
- 页码:310
- 版次:1-1
- 所属分类:
计算机 > 软件工程及软件方法学 > 综合
编辑推荐
拥有这本书,你将会:
学习如何在多种真实开发环境中使用Git
洞察Git的常用案例、初始任务和基本功能
理解如何在集中和分布式版本控制中使用Git
使用Git管理补丁、差异、合并和冲突
获得诸如重新定义分支(rebasing)、钩子(hook)以及处
理子模块(子项目)等的高级技巧
学习如何结合使用Git与subversion
内容简介回到顶部↑
Git可以支持几乎无数种开发与合作的方法。它最早由LinilusTorvalds创建,用于管理Linux内核开发,现已成为分布式版本控制的主流工具。但是Git的灵活性也意味着某些用户无法发挥它的最大价值。《Git版本控制管理》提供了最高效的方法教程,其友好又严谨的建议有助于你随心操控Git的各项功能。
作译者回到顶部↑
本书提供作译者介绍
Jon Loeliger是一位自由职业的软件工程师,致力于Linux、U-Boot和Git等开源项目。他曾在Linux World等诸多会议上公开讲授Git,还为《Linux Magazine》撰写过数篇关于Git的文章。
.. << 查看详细
.. << 查看详细
目录回到顶部↑
preface
1.introduction
background
the birth of git
precedents
time line
what\'s in a name?
2.installing git
using linux binary distributions
debian/ubuntu
other binary distributions
obtaining a source release
building and installing
installing git on windows
installing the cygwin git package
installing standalone git (msysgit)
3.getting started
the git command line
quick introduction to using git
creating an initial repository
1.introduction
background
the birth of git
precedents
time line
what\'s in a name?
2.installing git
using linux binary distributions
debian/ubuntu
other binary distributions
obtaining a source release
building and installing
installing git on windows
installing the cygwin git package
installing standalone git (msysgit)
3.getting started
the git command line
quick introduction to using git
creating an initial repository
前言回到顶部↑
Audience
While some familiarity with revision control systems will be good background material,a reader who is not familiar with any other system will still be able to learn enough about basic Git operations to be productive in a short while. More advanced readers should be able to gain insight into some of Git's internal design and thus master some of its more powerful techniques.
The main intended audience for this book should be familiar and comfortable with the Unix shell, basic shell commands, and general programming concepts.
Assumed Framework
Almost all examples and discussions in this book assume the reader has a Unix-like system with a command-line interface. The author developed these examples on Debian and Ubuntu Linux environments. The examples should work under other environments, such as Mac OS X or Solaris, but the reader can expect slight variations.
A few examples require root access on machines where system operations are needed.Naturally, in such situations you should have a clear understanding of the responsb bilities of root access.
Book Layout and Omissions
This book is organized as a progressive series of topics, each designed to build upon concepts introduced earlier. The first 10 chapters focus on concepts and operations that pertain to one repository. They form the foundation for more complex operations on multiple repositories covered in the final six chapters.
If you already have Git installed or have even used it briefly, you may not need the introductory and installation information in the first two chapters, nor even the quick tour presented in the third chapter.
The concepts covered in Chapter 4 are essential for a firm grasp on Git's object model.They set the stage and prepare the reader for a clearer understanding of many of Git's more complex operations.
Chapters 5 through 10 cover various topics in more detail. Chapter 5 describes the index and file management. Chapters 6 and 10 discuss the fundamentals of making commits and working with them to form a solid line of development. Chapter 7 introduces branches so that you may manipulate several different lines of development from your one local repository. Chapter 8 explains how Git derives and presents "diffs."
Git provides a rich and powerful ability to join different branches of development. The basics of branch merging and resolving merge conflicts is covered in Chapter 9. A key insight into Git's model is the realization that all merging performed by Git happens in your local repository in the context of your current working directory.
The fundamentals of naming and exchanging data with another, remote repository are covered in Chapter 11. Once the basics of merging have been mastered, interacting with multiple repositories is shown to be a simple combination of an exchange step plus a merge step. The exchange step is the new concept covered in this chapter; the merge step is covered in Chapter 9.
Chapter 12 provides a more philosophical and abstract coverage of repository management "in the large." It also establishes a context for Chapter 13 to cover patch handling when direct exchange of repository information isn't possible using Git's native transfer protocols.
The remaining three chapters cover advanced topics: the use of hooks, combining projects and multiple repositories into a superproject, and interacting with Subversion repositories.
Git is still evolving rapidly because there is an active developer base. It is not that Git isn't mature enough to be used for development; rather, ongoing refinements and user interface issues are being enhanced regularly. Even as this book was being written, Git evolved. Apologies if I was unable to keep up accurately.
I do not give the command gitk the complete coverage that it deserves. If you like graphical representations of the history within a repository, you should explore gitk. Other history visualization tools exist as well, but they are not covered here either. Nor am I able to cover a rapidly evolving and growing host of other Git-related tools. I'm not even able to cover all of Git's own core commands and options thoroughly in this book. Again, my apologies.
Perhaps, though, enough pointers, tips, and direction can be found here to inspire readers to do some of their own research and exploration!
Conventions Used in This Book
The following typographical conventions are used in this book:Italic
While some familiarity with revision control systems will be good background material,a reader who is not familiar with any other system will still be able to learn enough about basic Git operations to be productive in a short while. More advanced readers should be able to gain insight into some of Git's internal design and thus master some of its more powerful techniques.
The main intended audience for this book should be familiar and comfortable with the Unix shell, basic shell commands, and general programming concepts.
Assumed Framework
Almost all examples and discussions in this book assume the reader has a Unix-like system with a command-line interface. The author developed these examples on Debian and Ubuntu Linux environments. The examples should work under other environments, such as Mac OS X or Solaris, but the reader can expect slight variations.
A few examples require root access on machines where system operations are needed.Naturally, in such situations you should have a clear understanding of the responsb bilities of root access.
Book Layout and Omissions
This book is organized as a progressive series of topics, each designed to build upon concepts introduced earlier. The first 10 chapters focus on concepts and operations that pertain to one repository. They form the foundation for more complex operations on multiple repositories covered in the final six chapters.
If you already have Git installed or have even used it briefly, you may not need the introductory and installation information in the first two chapters, nor even the quick tour presented in the third chapter.
The concepts covered in Chapter 4 are essential for a firm grasp on Git's object model.They set the stage and prepare the reader for a clearer understanding of many of Git's more complex operations.
Chapters 5 through 10 cover various topics in more detail. Chapter 5 describes the index and file management. Chapters 6 and 10 discuss the fundamentals of making commits and working with them to form a solid line of development. Chapter 7 introduces branches so that you may manipulate several different lines of development from your one local repository. Chapter 8 explains how Git derives and presents "diffs."
Git provides a rich and powerful ability to join different branches of development. The basics of branch merging and resolving merge conflicts is covered in Chapter 9. A key insight into Git's model is the realization that all merging performed by Git happens in your local repository in the context of your current working directory.
The fundamentals of naming and exchanging data with another, remote repository are covered in Chapter 11. Once the basics of merging have been mastered, interacting with multiple repositories is shown to be a simple combination of an exchange step plus a merge step. The exchange step is the new concept covered in this chapter; the merge step is covered in Chapter 9.
Chapter 12 provides a more philosophical and abstract coverage of repository management "in the large." It also establishes a context for Chapter 13 to cover patch handling when direct exchange of repository information isn't possible using Git's native transfer protocols.
The remaining three chapters cover advanced topics: the use of hooks, combining projects and multiple repositories into a superproject, and interacting with Subversion repositories.
Git is still evolving rapidly because there is an active developer base. It is not that Git isn't mature enough to be used for development; rather, ongoing refinements and user interface issues are being enhanced regularly. Even as this book was being written, Git evolved. Apologies if I was unable to keep up accurately.
I do not give the command gitk the complete coverage that it deserves. If you like graphical representations of the history within a repository, you should explore gitk. Other history visualization tools exist as well, but they are not covered here either. Nor am I able to cover a rapidly evolving and growing host of other Git-related tools. I'm not even able to cover all of Git's own core commands and options thoroughly in this book. Again, my apologies.
Perhaps, though, enough pointers, tips, and direction can be found here to inspire readers to do some of their own research and exploration!
Conventions Used in This Book
The following typographical conventions are used in this book:Italic
媒体评论回到顶部↑
这是一本应该随身携带的书。
——Don Marti 编辑、记者以及会议主席
——Don Marti 编辑、记者以及会议主席
【插图】







点击看大图

加载中...

