Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
grep your git stash
#!/bin/bash
for i in `git stash list --format="%gd"`; do
git stash show -p $i | grep -H --label="$i" "$1"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment