Files
30-seconds-of-code/snippets/delete-stash.md
2021-04-13 19:45:31 +03:00

17 lines
248 B
Markdown

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