

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Stash
incomplete
2: Pop
incomplete
3: What Is the Stash
incomplete
4: Multiple Stashes
incomplete
5: Unrelated Commit
incomplete
6: Pop Again
incomplete
This lesson's interactive features are locked, please to keep using them
Now that you've solved the CEO's problem, time to get back to your own work. Here are a few more useful options when it comes to git stash.
This will apply the most recent stash changes, just like pop, but it will keep the stash in the stash list.
git stash apply
This will remove the most recent stash from the stash list without applying it to your working directory.
git stash drop
Most stash commands allow you to reference a specific stash by its index.
# Apply the third (0, 1, 2) most recent stash
git stash apply stash@{2}
# Remove the third most recent stash
git stash drop stash@{2}
Run and submit the CLI tests from the root of the repo.