Skip to content

Instantly share code, notes, and snippets.

@jmewes
Created December 10, 2020 15:29
Show Gist options
  • Save jmewes/a07ff7f230e71ba32dc63326748564c2 to your computer and use it in GitHub Desktop.
Save jmewes/a07ff7f230e71ba32dc63326748564c2 to your computer and use it in GitHub Desktop.
Show changes in stash list
git stash list | awk -F: '{ print "\n\n\n\n"; print $0; print "\n\n"; system("git --no-pager stash show -p " $1); }' | less
# See https://stackoverflow.com/questions/10725729/see-whats-in-a-stash-without-applying-it#comment27167616_10726185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment