From 84ed357febb73db187020d632457dd9ef39feb3b Mon Sep 17 00:00:00 2001 From: Bjarke Sporring Date: Wed, 21 Jan 2026 12:54:14 +0100 Subject: [PATCH] fix: pwsh doesn't like @{} since it's a pwsh hashtable. Should wrap in a string --- 01-essentials/07-stash/README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/01-essentials/07-stash/README.md b/01-essentials/07-stash/README.md index 1cb4192..276e700 100644 --- a/01-essentials/07-stash/README.md +++ b/01-essentials/07-stash/README.md @@ -194,10 +194,7 @@ git stash pop git stash apply # Apply a specific stash -git stash apply stash@{1} - -# Apply a specific stash by number -git stash apply 1 +git stash apply "stash@{1}" ``` ### Managing Stashes @@ -207,7 +204,7 @@ git stash apply 1 git stash drop # Drop a specific stash -git stash drop stash@{1} +git stash drop "stash@{1}" # Clear all stashes git stash clear @@ -293,10 +290,10 @@ git stash pop git stash list # Show summary of what changed -git stash show stash@{0} +git stash show "stash@{0}" # Show full diff -git stash show -p stash@{0} +git stash show -p "stash@{0}" ``` ### "Stash conflicts when I apply"