Cover

Git cover

Distributed Version Control with Git: Errata

The e-Book and web version is constantly improved. Paperback owners need to wait for the next revision.

Chapter 1.10. Committing to the repository

Committing creates a new persistent snapshot (called commit or commit object) of the staging area in the Git repository.

Chapter 13.5. Delete a branch

The command git branch -d testing may not work for you if you have done the previous examples and left uncommited changes. You will then need to force delete it with git branch -D testing.

Chapter 30.2. Using cherry-pick

git cherry-pick picktest~..picktest~1 won't work because picktest~ and picktest~1 are identical and will result in the error message "fatal: empty commit set passed". You need to git cherry-pick --abort to revert this broken state. git rebase --hard $SHA1 will not work.