July 2018
Intermediate to advanced
354 pages
10h 57m
English
From the parent commit pointed to by the commit at HEAD, Git resets the branch pointer and HEAD to point to the parent commit. The staging area is reset, but the working tree is kept as it was before the reset, so the files affected by the undone commit will be in a modified state. This is illustrated in the following diagram:

Read now
Unlock full access