Mid Version Control

How do you apply stashed changes?

To bring back your stashed work:

git stash apply # reapplies the most recent stash

git stash pop # reapplies AND deletes the stash

git stash list # shows all stashes

git stash show -p # shows what changes are in a stash

Real-world example:

After resolving the production issue, you return to your feature branch and restore your

previous changes with git stash pop.

More from Developer Essentials

All questions for this course