Add stash snippets

This commit is contained in:
Chalarangelo
2021-04-13 19:36:57 +03:00
parent ee52eda14c
commit f589fe0fd0
6 changed files with 107 additions and 0 deletions

16
snippets/apply-stash.md Normal file
View File

@ -0,0 +1,16 @@
---
title: Apply a stash
tags: stash,repository,intermediate
---
Applies a specific stash.
- Use `git stash apply <stash>` to apply the given `<stash>`.
```sh
git stash apply <stash>
```
```sh
git stash apply stash@{1} # Applies `stash@{1}`
```