July 2018
Intermediate to advanced
354 pages
10h 57m
English
We have created two commits: one for the index and one for the work area. In gitk, we can see the commits that stash creates to put the changes away (gitk stash), as shown in the following screenshot:

We can also see the state of the branches after we created the commit (gitk --reflog), as shown in the following screenshot:

Git actually creates two commits under the refs/stash namespace. One commit contains the contents of the staging area. This commit is called index on master. The other commit is the work in progress in the ...
Read now
Unlock full access