Nest all content into snippets
This commit is contained in:
21
snippets/git/s/delete-stash.md
Normal file
21
snippets/git/s/delete-stash.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
title: Delete a stash
|
||||
type: snippet
|
||||
language: git
|
||||
tags: [repository,stash]
|
||||
author: chalarangelo
|
||||
cover: budapest-palace
|
||||
dateModified: 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}`
|
||||
```
|
||||
Reference in New Issue
Block a user