Update stashing with VS Code piping

This commit is contained in:
James Skemp 2022-10-28 13:26:26 -05:00
parent 0bb5ad3a91
commit 92c43ab692
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ git stash list --pretty=format:'%Cblue%gd%Cred: %C(yellow)%s'
# View changes in all stashes.
git stash list -p
# Pipe into VS Code.
git stash list -p | code -
# Show file changes in a particular stash (0 = last one).
git stash show 'stash@{0}'