Prepare repository for merge
This commit is contained in:
20
git/snippets/apply-stash.md
Normal file
20
git/snippets/apply-stash.md
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Apply a stash
|
||||
type: snippet
|
||||
tags: [repository,stash]
|
||||
author: chalarangelo
|
||||
cover: obelisk
|
||||
dateModified: 2021-04-13T21:10:59+03:00
|
||||
---
|
||||
|
||||
Applies a specific stash.
|
||||
|
||||
- Use `git stash apply <stash>` to apply the given `<stash>`.
|
||||
|
||||
```shell
|
||||
git stash apply <stash>
|
||||
```
|
||||
|
||||
```shell
|
||||
git stash apply stash@{1} # Applies `stash@{1}`
|
||||
```
|
||||
Reference in New Issue
Block a user