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.
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.
Simplified Chinese: by JunJie, Meng and JiangWei. Converted to Traditional Chinese via
cconv -f UTF8-CN -t UTF8-TW.
- French: by Alexandre Garel, Paul Gaborit, and Nicolas Deram.
- German: by Benjamin Bellee and Armin Stebich; also hosted on Armin’s website.
- Italian: by Mattia Rigotti.
- Korean: by Jung-Ho (John) Han; also hosted on John’s website.
- Polish: by Damian Michna.
- Brazilian Portuguese: by José Inácio Serafini and Leonardo Siqueira Rodrigues.
- Russian: by Tikhon Tarnavsky, Mikhail Dymskov, and others.
- Spanish: by Rodrigo Toledo and Ariset Llerena Tapia.
- Ukrainian: by Volodymyr Bodenchuk.
- Vietnamese: by Trần Ngọc Quân; also hosted on his website.
- Single webpage: barebones HTML, with no CSS.
- PDF file: printer-friendly.
- EPUB file: E-reader-friendly.
- Debian package, Ubuntu package: get a fast and local copy of this site. Handy when this server is offline.
- Physical book [Amazon.com]: 64 pages, 15.24cm x 22.86cm, black and white. Handy when there is no electricity.
I’m humbled that so many people have worked on translations of these pages. I greatly appreciate having a wider audience because of the efforts of those named above.
Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan, Derek Mahar, Frode Aannevik, Keith Rarick, Andy Somerville, Ralf Recker, Øyvind A. Holm, Miklos Vajna, Sébastien Hinderer, Thomas Miedema, Joe Malin, Tyler Breisacher, Sonia Hamilton, Julian Haagsma, Romain Lespinasse, Sergey Litvinov, Oliver Ferrigni, David Toca, Сергей Сергеев, Joël Thieffry, and Baiju Muthukadan contributed corrections and improvements.
François Marier maintains the Debian package originally created by Daniel Baumann.
My gratitude goes to many others for your support and praise. I’m tempted to quote you here, but it might raise expectations to ridiculous heights.
If I’ve left you out by mistake, please tell me or just send me a patch!
This guide is released under the GNU General Public License version 3. Naturally, the source is kept in a Git repository, and can be obtained by typing:
$ git clone git://repo.or.cz/gitmagic.git # Creates "gitmagic" directory.
or from one of the mirrors:
$ git clone git://github.com/blynn/gitmagic.git $ git clone git://git.assembla.com/gitmagic.git $ git clone firstname.lastname@example.org:blynn/gitmagic.git
GitHub, Assembla, and Bitbucket support private repositories, the latter two for free.