Files
30-seconds-of-code/snippets/apply-stash.md
2021-04-13 19:36:57 +03:00

17 lines
249 B
Markdown

---
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}`
```