Suggest an editImprove this articleRefine the answer for “How to restore changes from a stash after some time?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Changes from a stash** can be restored at any time using `git stash apply` or `git stash pop`. **Key point:** the list of saved stashes is viewed with `git stash list`, and the needed stash can be applied as long as it has not been dropped.Shown above the full answer for quick recall.Answer (EN)ImageChanges from a **stash** can be restored at any time, since a stash is stored locally and does not depend on time, as long as it has not been dropped. --- ## 1. View the list of stashes ```bash git stash list ``` Example output: ```text stash@{0}: WIP on main: ... stash@{1}: WIP on feature: ... ``` --- ## 2. Restore the latest stash ### Apply and remove it from the stash ```bash git stash pop ``` ### Apply without removing it ```bash git stash apply ``` --- ## 3. Restore a specific stash ```bash git stash apply stash@{1} ``` or ```bash git stash pop stash@{1} ``` --- ## 4. Important considerations - changes are applied to the **current branch** - conflicts are possible if the code has changed - a stash can be applied multiple times when using `apply` --- ## Key phrasing for an interview > To restore changes from a stash, use `git stash apply` or `git stash pop`. The list of saved stashes can be viewed with `git stash list`, and the needed stash can be applied at any time, as long as it has not been dropped.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.