Add stash snippets
This commit is contained in:
17
snippets/delete-stashes.md
Normal file
17
snippets/delete-stashes.md
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Delete all stashes
|
||||
tags: stash,repository,intermediate
|
||||
---
|
||||
|
||||
Deletes all stashes.
|
||||
|
||||
- Use `git stash clear` to delete all stashes.
|
||||
|
||||
```sh
|
||||
git stash clear
|
||||
```
|
||||
|
||||
```sh
|
||||
git stash clear
|
||||
# Deletes all stashes
|
||||
```
|
||||
Reference in New Issue
Block a user