Errata

Head First Git

Errata for Head First Git

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
PDF Page 12, dealing with single and double quotes
whole page

"The command line does not really care if you use double quotes or single quotes." is a wrong statement. In most unix-shells, double quoted strings are interpolated, while single quoted strings are not. That is a pretty big difference, and the whole page does not really make sense because of that.

Anonymous  Apr 19, 2024 
Printed Page page 338
answer to first asterisk

On page 338 answer page, when git branch -vv is executed, the commit message shown should not be "add first FAQ". It should be "addison's first commit" because Sangita had done a pull after addison's first commit on page 286 exercise.

This will affect answers on page 339 and subsequent answers for this chapter.

Bernard Ong  Dec 20, 2023 
Chapter 7: "WHO DOES WHAT SOLUTION"
https://learning.oreilly.com/library/view/head-first-git/9781492092506/ch07.html#who_does_what_solutionquestion_m-id00283

The command for "Searches the diffs of all commits" should be "log -p (or --patch)" rather than "log -S". Also the command for "Displays all the commits where the line that includes that text was changed in some way" should be "log -S" instead of "log -G".

Robert Chu  May 02, 2023 
Printed Page Page 42
in the first line of the first bullet point on the right column

"snapshop" should be "snapshot", just a typo :)

Windy Lin  Apr 18, 2023 
How To Use This Book: Intro
A word on organizing your files and projects

Under the section "A word on organizing your files and projects" it instructs readers to visit the site i-love-git.com, to download the source files for the book. This site does not appear to be available. When I try to access the following error message is displayed "This site can’t provide a secure connection i-love-git.com sent an invalid response."

It is frustrating that I can't access the supporting files from the book

Paul Thorpe  Oct 13, 2022 
Printed Page xxiv
2nd paragraph

"We are fans of teasing things apart." I believe "teasing" was supposed to be "tearing", making this sentence read "We are fans of tearing things apart."

Charlton Stanley  Aug 24, 2022 
PDF Page 65
Text in picture

"do" is printed twice:
Working directory <== Text in picture: Now these DO DO not look like each other ==> Index.

Dmitry Barovik  Aug 20, 2022 
PDF Page Page 54.
End of the first paragraph

"the" is printed twice:
So how do you separate THE THE documentation fix from your original task?

Dmitry Barovik  Aug 20, 2022 
https://learning.oreilly.com/library/view/head-first-git/9781492092506/ch03.html#:-:text=Since%20Git
https://learning.oreilly.com/library/view/head-first-git/9781492092506/ch03.html#:-:text=Since%20Git%20has,are%20all%20new!

Instead of "added to the index", there should be "added to the working directory".

Andrij Stecko  Jun 24, 2022 
Page Chapter 2 (unknown page - using Safari Books online)
Para beginning "So you’re all set up and ready to merge add-thurs-menu into master"

For newest version of Git, I am using 2.34.1.windows.1, instead of VS Code prompting for a message, git merges using "ort" strategy, and assigns the default message. i.e. note following command and results

> git merge add-thurs-menu

Merge made by the 'ort' strategy.
thursdays-menu.md | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 thursdays-menu.md

Default message confirmed by running got branch with the verbose flag

PS C:\dev\headfirst-git-samples\80s-diner> git branch --verbose
add-fall-menu 7dd503d update heading
add-thurs-menu 39b8143 add-thursdays menu
* master d45a092 Merge branch 'add-thurs-menu'

Note from the Author or Editor:
Responding to the OP for clarification. Not sure how they are getting this behavior.

Michael Poole  Jan 18, 2022