0 votes
1 view
in DevOps and Agile by (20k points)

I see here that you can apply or unapply a stash and even create a new branch off of a stash. Is it possible to simply see what is inside the stash without actually applying it?

1 Answer

0 votes
by (28.4k points)

In order to list the stashed modifications use this: 

git stash list

In order to show files changed in the last stash use the this:

git stash show

In order to view the content of the most recent stash, run the following command

git stash show -p

In order to view the content of an arbitrary stash, run the following command

git stash show -p [email protected]{1}

Related questions

0 votes
1 answer
0 votes
1 answer
+8 votes
2 answers
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...