I am searching through a Git repository and would like to include the .git folder.
.git
grep does not include this folder if I run
grep
I just ran into this problem, and based on @bitmask's answer, here is my simple modification to avoid the problem pointed out by @sehe:
grep -r search_string * .[^.]*