Skip to content

Instantly share code, notes, and snippets.

Created Jul 19, 2016
What would you like to do?
# find a file by content from basically anywhere in your git history
# for when you think you lost something but hopefully not
(git stash list; git reflog) | awk '{print $1}' | xargs git grep "${@}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment