17 lines
249 B
Markdown
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}`
|
|
```
|