index.md

June 14, 2016 ยท View on GitHub

Search for commits that introduced or removed a string

git log -Sstring | tig

Grep in files with certain extensions

git grep lorem -- '*.js'

Contents

  1. 1Search for commits that introduced or removed a string
  2. 2Grep in files with certain extensions