Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercises Session 8

  • Make some local changes

  • Create a new file

  • Stash them away using git stash -u

  • Observe that the working directory is clean and back to the previous state

  • Observe the content of the stash.

  • Make some other changes

  • Commit them.

  • git stash pop

  • See the previous partial changes are in the working directory. Including the new file.

  • Commit the changes.