Files
30-seconds-of-code/snippets/delete-stash.md
2021-04-13 21:10:59 +03:00

17 lines
254 B
Markdown

---
title: Delete a stash
tags: repository,stash,intermediate
---
Deletes a specific stash.
- Use `git stash drop <stash>` to delete the given `<stash>`.
```shell
git stash drop <stash>
```
```shell
git stash drop stash@{1} # Deletes `stash@{1}`
```