From 92c43ab692a7c9400cb9a36f53a66b50b699f2b7 Mon Sep 17 00:00:00 2001 From: James Skemp Date: Fri, 28 Oct 2022 13:26:26 -0500 Subject: [PATCH] Update stashing with VS Code piping --- src/stashing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stashing.md b/src/stashing.md index b21bb09..13193bd 100644 --- a/src/stashing.md +++ b/src/stashing.md @@ -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}'