We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P2.0, released 8 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
1

#40248: Code files (both .tgz and .zip) are empty. If there is no code, no code files should be offered for download.

P2.0
28-Jul-09
39
#39672: In discussing the probability of getting duplicate SHA1 hashes, the exponent should not be 63 but 160 (the hash is made up of 40 hex digits, e...more...
P2.0
26-Jun-09
45
#39566: You describe the process of tagging a release and cleaning up your repository by rebasing master on top of your release branch and deleting th...more...
P2.0
19-Jun-09
45
#40163: Regarding this statement : "Right now your repository looks like Figure 3.1. After rebasing, it looks like Figure 3.2, on the following page."...more...
P2.0
24-Jul-09
46
#41009: I believe you are referring to the master branch and not RB_1.0: "A quick check of git log shows that you have only the three commits that...more...
P2.0
19-Oct-09
56
#41010: The file systems don't ignore; the view application (e.g. ls) does! "You can name the file anything you want, but most people start the fi...more...
P2.0
19-Oct-09
64

#39912: In the commit message Javascript should be referred to as JavaScript--Brian McKinney

P2.0
09-Jul-09
65

#39913: In the commit message, EMCAScript should be referred to as ECMAScript--Brian McKinney

P2.0
09-Jul-09
75

#39254: first code example (second line)
EMCAScript should be ECMAScript--Stephan Schmitt

P1.0
27-May-09
83
#39172: The second short commit name in the example "git log 18f822e..0bb3dfb" does not match the range described in the explanatory text: "Instead, G...more...
P1.0
10-May-09
84
#38818: At the end of the page, when you talk about the caret (^). Although what it says is correct, it's not complete. The most important use of t...more...
P1.0
10-Apr-09
85
#40536: On page 85, fourth line: "The following three commands would all grab the same revision" should be "The following four commands -" There...more...
P2.0
21-Aug-09
87
#40857: "Next, notice that the filename index.html is listed. Remember when you created this file? It was originally named index.html. " should be ...more...
P2.0
24-Sep-09
92

#38671: The URL for SSH in figure 7.1, at the top of the page, is incorrect, as it omits the protocol. It should be:

ssh://git@github....--Charles Curley

P1.0
01-Apr-09
92

#40756: Figure 7.1 should be: git@github.com:tswicegood/mysite-chp6.git--downtown_dave

P1.0
16-Sep-09
94 85

#40827: You never use '~#' except this one. '~#' shoud be '~N'.--Sung Ahn Kim

P2.0
21-Sep-09
94
#42112: 'git reset' with neither --soft or --hard leaves the changes in the working tree. I think the fourth paragraph would be clearer if it read so...more...
P2.0
19-Jan-10
97 88
#40853: Missing '#' for comments. This is a combination of two commits. # The first commit's message is: should be # This is a combination o...more...
P1.0
23-Sep-09
102

#40144: GitHub actually does support HTTP now, although it is extremely slow--Darrin

P2.0
22-Jul-09
103
#38706: At the very bottom of page 103, the example at the very bottom should be: git checkout -b another-from-1.0 1.0 The trailing tag name has bee...more...
P1.0
03-Apr-09
111
#39914: The command "git tag contacts/1.1 contacts" fails with the error "fatal: Failed to resolve 'contacts' as a valid ref.' since the contacts bran...more...
P2.0
10-Jul-09
120
#39107: # (use "git add <file>..." to update what will be committed) # # modified: hocus # no changes added to commit (use "git add" and/or "g...more...
P1.0
05-May-09
127
#40500: Fourth paragraph: "This brings us to the end of the basics chapter" should be: "This brings us to the end of the beyond the basics chapter"...more...
P1.0
20-Aug-09
135
#39305: As mentioned by Steven near the bottom of "Macports install fails", sometimes git-svn --version returns errors even if installed if you do it ...more...
P1.0
02-Jun-09
136

#38708: Replace "some partially completely algorithm change" with "some partially complete algorithm change".--Anthony Foglia

P1.0
03-Apr-09
141

#42098: In the grey box, in the fourth paragraph, in the third sentence, the word "completely" should be "complete".--Barry Simpson

P2.0
18-Jan-10
150
#39280: Not really the linux admin, but as far as I could infer from the manpages, the adduser command on page 150 is not right. In the text, there...more...
P2.0
30-May-09
152 148

#40852: "keydir directory" should be "keydir/ directory"

You have always put ending slash for directories.--Sung Ahn Kim

P1.0
23-Sep-09
161 161
#39361: Under "Move or Rename a Branch", the commands for renaming a branch use "git checkout" with a "-m" or "-M" flag. They should use "git branch" ...more...
P2.0
08-Jun-09

Stuff To Be Considered in the Next Edition

PDF Paper Description Found in Fixed in
1
#36685: No mention seems to be made of the .gitattributes file. We are coming from Subversion and we use RCS $Header$ ids -- pointers on how to get t...more...
P1.0
28-Dec-08
43
#36647: "git commit -a" launches a terminal-based editor that I'm not familiar with. More explanation required here for the newbie. Is this a configur...more...
P1.0
27-Dec-08
52
#37275: Chapter 3 leaves the work area (/work/mysite) in branch RB_1.0.1. (p. 46) Chapter 4 assumes the work area has master checked out, that may be...more...
P1.0
25-Jan-09
73

#37305: prompt> git reset --hard HEAD^
doesn't work on Windows (I'm prompted with: More?).
Adding quotes around "HEAD^" solves the issue.--Marnix

P1.0
27-Jan-09
103

#36480: another workable URL would be
ssh://git@github.com/tswicegood/mysite-chp6.git--Steven Finnegan

P1.0
17-Dec-08
103
#36481: It would be helpful to show the various URL formats that work, such as: "git clone sjf@hercules:git-test/depot depot-frm-svr", "git clo...more...
P1.0
17-Dec-08
114
#37327: At the end of section 8.2, you allude to the realization that you should have branched earlier, and suggest creating a branch from an earlier ...more...
P1.0
28-Jan-09