Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickjholloway/68176cf57b9905ca3655508ed27c9010 to your computer and use it in GitHub Desktop.
Save patrickjholloway/68176cf57b9905ca3655508ed27c9010 to your computer and use it in GitHub Desktop.
#!/bin/zsh
mkdir ../stashes
git stash list| sed 's/\//\_/g'|sed 's/ /\_/g' | awk -F ":" '{ system("git stash show -p " $1 " >> \"../stashes/" substr($1$2$3, 0, 40) ".diff\"" ) }'
cd ..
rm -rf ./console
git clone git@github.com:Kinvey/console.git
cd ./console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment