Sunday, December 30, 2012

Git tips - search a string on all revisions


git rev-list --all | (
while read revision; do

git grep -F 'Your search string' $revision

done

)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.