Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 24457941c4
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (26 sloc) 2.239 kb
= Git Magic =
Ben Lynn
August 2007
== Preface ==
http://git.or.cz/[Git] is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master. I'm recording what I've figured out so far in these pages, because I initially had difficulty understanding http://www.kernel.org/pub/software/scm/git/docs/user-manual.html[the Git user manual].
As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that can amaze friends and infuriate enemies with its wondrous abilities.
Rather than go into details, we provide rough instructions for particular effects. After repeated use, gradually you will understand how each trick works, and how to tailor the recipes for your needs.
.Other Editions
- link:book.html[Single webpage]: barebones HTML, with no CSS.
- link:book.pdf[PDF file]: printer-friendly.
=== Thanks! ===
Kudos to Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan and Derek Mahar for suggestions and improvements. [If I've left you out, please tell me because I often forget to update this section.]
=== Links ===
I once listed some references, but it's too time-consuming to maintain.
Besides, anyone can simply use http://www.google.com/[a search engine]
to find Git
http://www.google.com/search?q=git+tutorial[tutorials],
http://www.google.com/search?q=git+guide[guides], and
http://www.google.com/search?q=git+comparison[comparisons] with
http://www.google.com/search?q=git+subversion[Subversion],
http://www.google.com/search?q=git+mercurial[Mercurial], and other version control systems.
.Free Git hosting
- http://repo.or.cz/[http://repo.or.cz/] hosts free projects,
http://repo.or.cz/w/gitmagic.git[including this guide].
- http://gitorious.org/[http://gitorious.org/] is another Git hosting site aimed at open-source projects.
- http://github.com/[http://github.com/] hosts open-source projects for free, http://github.com/blynn/gitmagic/tree/master[including this guide], and private projects for a fee.
Jump to Line
Something went wrong with that request. Please try again.