Git 是用于 Linux 内核开发的版本控制工具。与常用的版本控制工具、等不同,它采用了分布式版本库的方式,不必服务器端软件支持,使源代码的发布和交流极其方便。Git的速度很快,这对于诸如Linux kernel这样的大项目来说自然很重要。Git最为出色的是它的合并跟踪(merge tracing)能力。
作为开源自由原教旨主义项目,Git没有对版本库的浏览和修改做任何的权限限制,通过其他工具也可以达到有限的权限控制,比如:gitosis, CodeBeamer MR。原本Git的使用范围只适用于Linux / Unix平台,但逐步并成熟了在Windows平台下的使用,主要归功于与环境与这样易用的GUI工具。其实Git的源代码中已经加入了对Cygwin与MinGW编译环境的支持并被逐步完善,对于Windows使用者是个福音。
本文介绍了10个对初学者极佳的入门教程,文章后面还给出了大量的资源链接,希望对GIT学习者有用。
快速参考指南:
或者
(http://sixrevisions.com/resources/git-tutorials-beginners/)
1.
2、
3.
4.
5.
6.
7.
8.
9.
10.
其他链接
- : This is a beginner-level Git tutorial that includes installation instructions.
- : Check out this screencast on GitHub that introduces basic Git concepts.
- : This is a Stack Exchange answer that covers how to install Git on Windows, Mac OS X and Linux.
- : A two-part recorded video of Bart Trojanowski talking about Git basics (available as a PDF).
- : Here, you can learn Git basics through the most common commands (with examples of how to use the commands in real-world scenarios).
- : A quick introduction to Git that discusses fundamental activities such as committing to the repository and adding files for version tracking.
- : This 6-page cheat-sheet-style Git tutorial from technology publishing company Dzone is available as a PDF that you can print.
- : This Git tutorial is an official man page in the Git package.
- : This guide will get you up and running on Git as quickly as possible.
- : This resource collects quick Git tips categorized by level of difficulty (beginner, intermediate and advanced).
- : This FAQ-style Git guide covers the most popular topics for beginners.
- : This guide here on Six Revisions is a quick-start resource for familiarizing yourself with Git.
- : Learn how to create Git command aliases (shortcuts) to speed up your version control workflow through this online resource.
- : A wonderful tutorial on installing and using Git on Windows (using mysysgit, a GUI for Git).
- : A guide for Windows users covering how to use Git with the popular social coding site GitHub.
- : Kalid Azad shares some insights and lessons about his first experiences with Git.
- : This Git guide discusses the principles and concepts behind version control systems.
- : A walkthrough of Git to get you started through a hands-on approach.
- : If you’re interested in Git, chances are, it’s because of GitHub. Learn how to get up and running using GitHub through this guide.
- : This Git tutorial focuses on the fundamentals of how Git works.
- : This introductory guide on SitePoint introduces the reader to version control and Git.
- : View this Google Talk video of Linus Torvalds talking about Git.
GIT 官网给出的教程
Short & Sweet
-
This introductory walkthrough acts as a nice tutorial.
-
The official gittutorial man page is a good place to start.
-
Learn the basics with 20 of the most common commands.
-
A guided tour that walks through the fundamentals of Git.
Diving Deeper
-
No knowledge of version control? No problem.
-
A quick introduction to Git internals for people who aren't scared by words like Directed Acyclic Graph.
-
An alternative book with the source .
-
Guides on a variety of Git and GitHub related topics.
Books
-
By Travis Swicegood
-
By Scott Chacon
-
By Scott Chacon
-
By Jon Loeliger
-
By Travis Swicegood