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

17 lines
248 B
Markdown

---
title: Delete a stash
tags: stash,repository,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}`
```