Files
30-seconds-of-code/snippets/delete-stash.md
Isabelle Viktoria Maciohsek ed2f41b0d8 Bake dates into snippets
2021-06-13 19:47:48 +03:00

19 lines
330 B
Markdown

---
title: Delete a stash
tags: repository,stash,intermediate
firstSeen: 2021-04-13T19:36:57+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
---
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}`
```