저장소의 히스토리에서 파일 내의 문자열을 찾습니다. 일반
grep
과 같은 많은 플래그를 수용합니다. 더 많은 정보: https://git-scm.com/docs/git-grep.
git grep {{검색_문자열}}
git grep {{검색_문자열}} -- {{파일_글로브_패턴}}
git grep --recurse-submodules {{검색_문자열}}
git grep {{검색_문자열}} {{HEAD~2}}
git grep {{검색_문자열}} $(git rev-list --all)