0 votes
in Git by (30.8k points)
How to know what are the different saved states/stash of the current working directory?

1 Answer

0 votes
by (6.0k points)

Using the command 'git stash list'. The output of this command is a list of the saves states starting from zero the latest to the oldest one. Each entry has the stash index starting from zero e.g. stash@{n} where n is index, followed by the branch name and the summarized description.

Related questions

0 votes
asked Sep 5, 2020 in Git by SakshiSharma (30.8k points)
0 votes
asked May 21, 2020 in Git by SakshiSharma (30.8k points)
0 votes
asked Nov 27, 2019 by rajeshsharma (23.1k points)
0 votes
asked Nov 27, 2019 in DevOps by rajeshsharma (23.1k points)
...