1×
Become a member
to unlock all features
Autoplay

    Search the contents of a git repository with git grep

    grepgrep

    Learn to use git grep to only search through the tracked files in a git repo. This is especially useful when you want to exclude build artifacts or locally installed dependencies, such as webpack bundles or the node_modules directory. You'll also note that git grep is automatically colorized - we'll see how to get the same coloring effect with grep --color.