-
A tour of git_the basics下载
资源介绍
A tour of git: the basics
A tour of git: the basics
2.0 Copyright
This document is a modified version of a document originally titled "Distributed revision control
with Mercurial" and originally authored by Bryan O’Sullivan. The original document was
obtained from http://hgbook.red-bean.com/.
Copyright © 2006, 2007 Bryan O’Sullivan.
This material may be distributed only subject to the terms and conditions set forth in version
1.0 of the Open Publication License. Please refer to Appendix D for the license text.
As this is a modified version, the name of Bryan O'Sullivan is used only to properly credit him
with the original text. The appearance of his name here explicitly does not assert or imply his
endorsement of this modified document.
Portions Copyright © 2007 Carl Worth.
Changes made by Carl include the following:
2007-09-27:
Convert from HTML to markdown source syntax
Eliminate all content except Chapter 2 and Appendix D
Eliminate line numbers from examples
Modified to describe git instead of mercurial
The source of this modified version can be obtained via git:
git clone git://cworth.org/git/hgbook-git
or
git clone http://cworth.org/git/hgbook-git
and can be browsed online
2.1 Installing git on your system
Prebuilt binary packages of git are available for many popular operating systems. These make it
easy to start using git on your computer immediately.
2.1.1 Linux
Because each Linux distribution has its own packaging tools, policies, and rate of development,
it’s difficult to give a comprehensive set of instructions on how to install git binaries. The
version of git that you will end up with can vary depending on how active the person is who
maintains the package for your distribution.
To keep things simple, I will focus on installing git from the command line under the most