Skip to content

Instantly share code, notes, and snippets.

View oziks's full-sized avatar

Morgan Brunot oziks

View GitHub Profile
# ~/.gitconfig
[alias]
stash-grep = "!f() { git stash list | awk -F: '{print $1}' | while read stash; do git stash show -p $stash | grep \"$1\" && echo \"Found in $stash\"; done; }; f"