File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Day 28
2
+
3
+ Today we will learn to clear the stash.
4
+
5
+ ## Problem Statement:
6
+
7
+ If you want to inspect your stash stack, use the command <br >
8
+ ` git stash list `
9
+
10
+ Oh, you don't want to keep your stashed changes? There are way too many? Then go ahead and clear the stack with <br >
11
+ ` git stash clear `
12
+
13
+ If you only want to discard a certain stash entry, you can use <br >
14
+ ` git stash drop < stash> `
15
+
16
+ Clear your stash stack!
17
+
18
+ ### Files:
19
+ - recipe
20
+
21
+ ### Question:
22
+ - Did you clear your stash stack?
23
+
24
+ <div align =" center " >
25
+ <img src =" https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/639c51ce-b401-4ca1-ad52-f5cac0526c1a " width =450 >
26
+ <p >Description of the problem.</p >
27
+ </div >
28
+
29
+
30
+ ## Solution
31
+
32
+ 1 . Check the stash list.
33
+ ``` bash
34
+ git stash list
35
+ ```
36
+
37
+ 2 . Clear that list.
38
+ ``` bash
39
+ git stash clear
40
+ ```
41
+
42
+ <div align =" center " >
43
+ <img src =" https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/a960a94b-45b0-4ff5-a0b0-3b991ecc0068 " width =450 >
44
+ <p >Description of the solution.</p >
45
+ </div >
You can’t perform that action at this time.
0 commit comments