Skip to content

Instantly share code, notes, and snippets.

@sfdcale
Created November 21, 2019 05:44
Show Gist options
  • Select an option

  • Save sfdcale/2e4ed709f61d888c58d1deb6cd0645ab to your computer and use it in GitHub Desktop.

Select an option

Save sfdcale/2e4ed709f61d888c58d1deb6cd0645ab to your computer and use it in GitHub Desktop.
Lists file names from git stash
#!/bin/bash
for i in {0..13}
do
echo "Stash number: $i"
git stash show -p stash@{$i} --name-only | cat
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment