---
layout: bare
title: Git Grep
description: Searching for code in a repository's history.
path: technology/_posts/2001-01-01-lesson-git-grep.md
---

## Searching in Code with Grep

Find text in the tracked files

    git grep
    git grep <TREEISH>
