Last active
March 19, 2025 13:42
-
-
Save oziks/8b149e38859c89df5ba86b26ad32d390 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment