WEEK 7 · LESSON 9 · TOPIC 4 OF 10 · Listing and Removing Stashes

Listing and Removing Stashes

Lesson progress

0% Complete

SECTION 1 OF 1

In this topic · 1 sections
  1. Overview

Overview

View saved stashes with:

git stash list

Git displays multiple stash entries in order, with the newest at the top and older entries below it.

Pop or apply a specific entry by supplying its stash identifier:

git stash pop <stash-identifier>

or:

git stash apply <stash-identifier>

Remove a stash entry without applying it with:

git stash drop

After drop, check the remaining entries with git stash list.