Update stashing with VS Code piping
This commit is contained in:
parent
0bb5ad3a91
commit
92c43ab692
|
@ -14,6 +14,8 @@ git stash list --pretty=format:'%Cblue%gd%Cred: %C(yellow)%s'
|
||||||
|
|
||||||
# View changes in all stashes.
|
# View changes in all stashes.
|
||||||
git stash list -p
|
git stash list -p
|
||||||
|
# Pipe into VS Code.
|
||||||
|
git stash list -p | code -
|
||||||
|
|
||||||
# Show file changes in a particular stash (0 = last one).
|
# Show file changes in a particular stash (0 = last one).
|
||||||
git stash show 'stash@{0}'
|
git stash show 'stash@{0}'
|
||||||
|
|
Loading…
Reference in New Issue