Skip to content

Commit 76928b4

Browse files
🍾 day 27 - pop stash
1 parent e1fed99 commit 76928b4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Day 27/README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Day 27
2+
3+
Today we will learn to pop from stash.
4+
5+
## Problem Statement:
6+
7+
When you stashed your changes and you want to apply them back to your current working directory, you can use<br>
8+
`git stash pop`
9+
10+
This will remove the changes from the stash stack. If you also want to keep the changes on the stash stack, use<br>
11+
`git stash apply`
12+
13+
### Files:
14+
- recipe
15+
16+
17+
### Question:
18+
- Did you pop the changes from the stash stack?
19+
20+
21+
<div align="center">
22+
<img src="https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/11aa4d7f-a248-4cff-a91d-341cca2e66a9" width=400>
23+
<p>Description of the problem.</p>
24+
</div>
25+
26+
## Solution:
27+
28+
1. Pop the stash
29+
```bash
30+
git stash pop
31+
```
32+
33+
<div align="center">
34+
<img src="https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/7a664f02-9994-4b66-b5ef-8c226e329fe4" width=250>
35+
<p>Description of the solution.</p>
36+
</div>

0 commit comments

Comments
 (0)