This git-magic Pearltree is a collection of links to the chapter by chapter web pages of the online book git-magic. Aug 6
Appendix B. Translating This Guide I recommend the following steps for translating this guide, so my scripts can quickly produce HTML and PDF versions, and all translations can live in the same repository. Clone the source, then create a directory corresponding to the target language’s IETF tag: see the W3C article on internationalization. For example, English is "en" and Japanese is "ja". In the new directory, and translate the txt files from the "en" subdirectory. For instance, to translate the guide into Klingon, you might type: $ git clone git://repo.or.cz/gitmagic.git $ cd gitmagic $ mkdir tlh # "tlh" is the IETF language code for Klingon. $ cd tlh $ cp ..
Appendix A. Git Shortcomings There are some Git issues I’ve swept under the carpet. Appendix A. Git Shortcomings
Chapter 8. Secrets Revealed We take a peek under the hood and explain how Git performs its miracles. I will skimp over details. For in-depth descriptions refer to the user manual. Chapter 8. Secrets Revealed
Chapter 7. Git Grandmastery Chapter 7. Git Grandmastery By now, you should be able to navigate the git help pages and understand almost everything. However, pinpointing the exact command required to solve a given problem can be tedious. Perhaps I can save you some time: below are some recipes I have needed in the past. For my projects, Git tracks exactly the files I’d like to archive and release to users.
Chapter 6. Multiplayer Git Chapter 6. Multiplayer Git Initially I used Git on a private project where I was the sole developer. Amongst the commands related to Git’s distributed nature, I needed only pull and clone so could I keep the same project in different places. Later I wanted to publish my code with Git, and include changes from contributors.
Chapter 5. Lessons of History A consequence of Git’s distributed nature is that history can be edited easily. But if you tamper with the past, take care: only rewrite that part of history which you alone possess. Chapter 5. Lessons of History
Chapter 4. Branch Wizardry Chapter 4.
Chapter 3. Cloning Around In older version control systems, checkout is the standard operation to get files. Chapter 3. Cloning Around
Chapter 2. Basic Tricks Rather than diving into a sea of Git commands, use these elementary examples to get your feet wet. Despite their simplicity, each of them are useful. Indeed, in my first months with Git I never ventured beyond the material in this chapter. About to attempt something drastic?
Chapter 1. Introduction I’ll use an analogy to introduce version control.
Preface 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.