http://stackoverflow.com/questions/4468361/search-all-of-git-history-for-string:
git rev-list --all | GIT_PAGER=cat xargs git grep 'search_string'
git log --patch | less +/searching_string
git rev-list --all | ( while read revision; do git grep -F 'password' $revision done )
Leave a Reply
You must be logged in to post a comment.