❮ Stash
❯
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.