Exclude hidden .svn files from grep query

To exclude .svn directories from a recursive grep, use the –exclude option, for example:

$ grep --exclude='*.svn*' -R 'your.*search' .