fix: pwsh doesn't like @{} since it's a pwsh hashtable. Should wrap in a string
This commit is contained in:
@@ -194,10 +194,7 @@ git stash pop
|
|||||||
git stash apply
|
git stash apply
|
||||||
|
|
||||||
# Apply a specific stash
|
# Apply a specific stash
|
||||||
git stash apply stash@{1}
|
git stash apply "stash@{1}"
|
||||||
|
|
||||||
# Apply a specific stash by number
|
|
||||||
git stash apply 1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Managing Stashes
|
### Managing Stashes
|
||||||
@@ -207,7 +204,7 @@ git stash apply 1
|
|||||||
git stash drop
|
git stash drop
|
||||||
|
|
||||||
# Drop a specific stash
|
# Drop a specific stash
|
||||||
git stash drop stash@{1}
|
git stash drop "stash@{1}"
|
||||||
|
|
||||||
# Clear all stashes
|
# Clear all stashes
|
||||||
git stash clear
|
git stash clear
|
||||||
@@ -293,10 +290,10 @@ git stash pop
|
|||||||
git stash list
|
git stash list
|
||||||
|
|
||||||
# Show summary of what changed
|
# Show summary of what changed
|
||||||
git stash show stash@{0}
|
git stash show "stash@{0}"
|
||||||
|
|
||||||
# Show full diff
|
# Show full diff
|
||||||
git stash show -p stash@{0}
|
git stash show -p "stash@{0}"
|
||||||
```
|
```
|
||||||
|
|
||||||
### "Stash conflicts when I apply"
|
### "Stash conflicts when I apply"
|
||||||
|
|||||||
Reference in New Issue
Block a user