Files
30-seconds-of-code/snippets/delete-stash.md
Isabelle Viktoria Maciohsek ee28929328 Make expertise a field
2022-03-01 20:23:46 +02:00

20 lines
341 B
Markdown

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